Data processing method and apparatus, device, medium, and program product

ABSTRACT

A data processing method includes, in response to an interaction message being displayed on an interaction interface, displaying a virtual object in an interaction area in which the interaction message is located, and displaying a resource object at a target location on the interaction interface. The virtual object and the resource object are associated with the interaction message, and the resource object and the virtual object are configured to interact with each other. The method further includes displaying, on the interaction interface, interactive movement involving the virtual object and the resource object. The interactive movement includes moving the virtual object from a location of the interaction area, and/or moving the resource object from the target location.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2022/130281, filed on Nov. 7, 2022, which claims priority toChinese Patent Application No. 202210081766.1, entitled “DATA PROCESSINGMETHOD AND APPARATUS, COMPUTER DEVICE, AND READABLE STORAGE MEDIUM”filed with the China National Intellectual Property Administration onJan. 24, 2022, which are incorporated herein by reference in theirentirety.

FIELD OF THE TECHNOLOGY

This application relates to the field of communications technologies,and in particular, to data processing.

BACKGROUND OF THE DISCLOSURE

During message interaction, if it is identified that an interactionmessage can trigger generation of a virtual object, a virtual object(for example, a virtual object D) associated with the interactionmessage (for example, an interaction message X) is displayed on aninteraction interface in a form of emoticon rain. For example, when theinteraction message X is “Happy Birthday,” the virtual object D having a“cake” pattern may be dynamically displayed on the interactioninterface.

However, when virtual objects are dynamically displayed in a form ofemoticon rain, for same interaction messages transmitted by differentobjects, virtual objects corresponding to the interaction messages arealways displayed by using a same presentation animation. Consequently, avirtual object display mode is monotonous.

SUMMARY

In accordance with the disclosure, there is provided a data processingmethod including, in response to an interaction message being displayedon an interaction interface, displaying a virtual object in aninteraction area in which the interaction message is located, anddisplaying a resource object at a target location on the interactioninterface. The virtual object and the resource object are associatedwith the interaction message, and the resource object and the virtualobject are configured to interact with each other. The method furtherincludes displaying, on the interaction interface, interactive movementinvolving the virtual object and the resource object. The interactivemovement includes moving the virtual object from a location of theinteraction area, and/or moving the resource object from the targetlocation.

Also in accordance with the disclosure, there is provided a computerdevice including one or more memories storing one or more computerprograms, and one or more processors configured to execute the one ormore computer programs to, in response to an interaction message beingdisplayed on an interaction interface, display a virtual object in aninteraction area in which the interaction message is located, anddisplay a resource object at a target location on the interactioninterface. The virtual object and the resource object are associatedwith the interaction message, and the resource object and the virtualobject are configured to interact with each other. The one or moreprocessors are further configured to execute the one or more computerprograms to display, on the interaction interface, interactive movementinvolving the virtual object and the resource object. The interactivemovement includes moving the virtual object from a location of theinteraction area, and/or moving the resource object from the targetlocation.

Also in accordance with the disclosure, there is provided acomputer-readable storage medium storing one or more computer programsthat, when executed by one or more processors, cause the one or moreprocessor performs to, in response to an interaction message beingdisplayed on an interaction interface, display a virtual object in aninteraction area in which the interaction message is located, anddisplay a resource object at a target location on the interactioninterface. The virtual object and the resource object are associatedwith the interaction message, and the resource object and the virtualobject are configured to interact with each other. The one or morecomputer programs further cause the one or more processors to display,on the interaction interface, interactive movement involving the virtualobject and the resource object. The interactive movement includes movingthe virtual object from a location of the interaction area, and/ormoving the resource object from the target location.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic structural diagram of a network architectureaccording to an embodiment of this application.

FIG. 2A is a schematic diagram showing a data exchange scenarioaccording to an embodiment of this application.

FIG. 2B is a schematic diagram showing a data exchange scenarioaccording to an embodiment of this application.

FIG. 3 is a schematic flowchart of a data processing method according toan embodiment of this application.

FIG. 4 is a schematic diagram showing a scenario of displaying a firstvirtual object according to an embodiment of this application.

FIG. 5 is a schematic flowchart of a data processing method according toan embodiment of this application.

FIG. 6 is a schematic diagram showing a scenario of displaying aresource object according to an embodiment of this application.

FIG. 7A is a schematic diagram showing a scenario of moving a resourceobject according to an embodiment of this application.

FIG. 7B is a schematic diagram showing a scenario of moving a resourceobject according to an embodiment of this application.

FIG. 7C is a schematic diagram showing a scenario of moving a resourceobject according to an embodiment of this application.

FIG. 8 is a schematic diagram showing a collision detection scenarioaccording to an embodiment of this application.

FIG. 9A is a schematic diagram showing a scenario of displaying a firstresource sub-object according to an embodiment of this application.

FIG. 9B is a schematic diagram showing a scenario of displaying a firstresource sub-object according to an embodiment of this application.

FIG. 10 is a schematic flowchart of a data processing method accordingto an embodiment of this application.

FIG. 11 is a schematic diagram showing a scenario of determining amoving track according to an embodiment of this application.

FIG. 12 is a schematic diagram showing a scenario of displaying aplurality of interaction messages according to an embodiment of thisapplication.

FIG. 13 is a schematic flowchart of a data processing method accordingto an embodiment of this application.

FIG. 14 is a schematic diagram showing a scenario of displaying a secondvirtual object according to an embodiment of this application.

FIG. 15 is a schematic diagram showing a scenario of displaying acoincident interactive animation according to an embodiment of thisapplication.

FIG. 16 is a schematic flowchart of a data processing method accordingto an embodiment of this application.

FIG. 17 is a schematic diagram showing a scenario of acquiring a virtualresource according to an embodiment of this application.

FIG. 18 is a schematic diagram showing a scenario of performing aninteractive action according to an embodiment of this application.

FIG. 19 is a schematic diagram showing a scenario of determining a jumpheight according to an embodiment of this application.

FIG. 20 is a schematic structural diagram of a data processing apparatusaccording to an embodiment of this application.

FIG. 21 is a schematic structural diagram of a computer device accordingto an embodiment of this application.

DESCRIPTION OF EMBODIMENTS

The following clearly and completely describes the technical solutionsin the embodiments of this application with reference to theaccompanying drawings in the embodiments of this application.Apparently, the described embodiments are only some but not all of theembodiments of this application. All other embodiments obtained by aperson of ordinary skill in the art based on the embodiments of thisapplication without creative efforts shall fall within the protectionscope of this application.

In this disclosure, processes or steps described in a certain order donot have to be performed in the order they are described, and can beperformed in a different order or simultaneously.

Specifically, FIG. 1 is a schematic structural diagram of a networkarchitecture according to an embodiment of this application. As shown inFIG. 1 , the network architecture may include a service server 2000 anda terminal device cluster. The terminal device cluster may include oneor more terminal devices. A quantity of terminal devices in the terminaldevice cluster is not limited herein. As shown in FIG. 1 , a pluralityof terminal devices may include a terminal device 3000 a, a terminaldevice 3000 b, a terminal device 3000 c, . . . , and a terminal device3000 n. The terminal device 3000 a, the terminal device 3000 b, theterminal device 3000 c, . . . , and the terminal device 3000 n each mayestablish a direct or indirect network connection to the service server2000 through wired or wireless communication, so that each terminaldevice can exchange data with the service server 2000 through thenetwork connection.

Each terminal device in the terminal device cluster may include anintelligent terminal with a data processing function, such as a wearabledevice, a smartphone, a tablet computer, a notebook computer, a desktopcomputer, a smart household device, or a vehicle-mounted terminal. It isto be understood that each terminal device in the terminal devicecluster shown in FIG. 1 may be integrated with an application client.When running on each terminal device, the application client mayexchange data with the service server 2000 shown in FIG. 1 .Specifically, the application client may include a client with a dataprocessing function, such as a vehicle-mounted client, a smart householdclient, an entertainment client (for example, a game client), amultimedia client (for example, a video client), a social client, or aninformation client (for example, a news client). The vehicle-mountedterminal may be an intelligent terminal in an intelligent trafficscenario, and an application client on the vehicle-mounted terminal maybe the foregoing vehicle-mounted client.

The service server 2000 shown in FIG. 1 may be a server corresponding tothe application client. The service server 2000 may be an independentphysical server, or may be a server cluster or a distributed system thatincludes a plurality of physical servers, or may be a cloud server thatprovides basic cloud computing services such as a cloud service, a clouddatabase, cloud computing, a cloud function, cloud storage, a networkservice, cloud communication, a middleware service, a domain nameservice, a security service, a CDN, big data, and an artificialintelligence platform.

The foregoing servers and terminal devices are all computer devices, anda data processing method provided in the embodiments of this applicationmay be performed by a computer device.

It can be understood that, in the embodiments of this application, aterminal device corresponding to a first object may be referred to as afirst terminal, and an application client integrated in the firstterminal may be referred to as a first client. In the embodiments ofthis application, any terminal device in the foregoing terminal devicecluster may be selected as the first terminal. For example, in theembodiments of this application, the terminal device 3000 a in theforegoing terminal device cluster may serve as the first terminal. It isto be understood that the first object in the embodiments of thisapplication may be a user who transmits an interaction message throughthe first client, that is, a message sender.

It can be understood that, in the embodiments of this application, aterminal device corresponding to a second object may be referred to as asecond terminal, and an application client integrated in the secondterminal may be referred to as a second client. In the embodiments ofthis application, any terminal device in the foregoing terminal devicecluster may be selected as the second terminal. For example, in theembodiments of this application, the terminal device 3000 b in theforegoing terminal device cluster may serve as the second terminal. Itis to be understood that the second object in the embodiments of thisapplication may be a user who receives an interaction message throughthe second client, that is, a message recipient.

It is to be understood that the first object in the embodiments of thisapplication may serve as either the message sender or the messagerecipient, and the second object in the embodiments of this applicationmay serve as either the message recipient or the message sender. In acase that the first object serves as the message sender, the firstterminal may transmit an interaction message to the second terminalthrough the service server 2000, so that the second object correspondingto the second terminal becomes the message recipient. In a case that thesecond object serves as the message sender, the second terminal maytransmit an interaction message to the first terminal through theservice server 2000, so that the first object corresponding to the firstterminal becomes the message recipient.

For ease of understanding, an interaction message transmitted by thefirst object (for example, an object Y1) on the first client may bereferred to as a first interaction message in the embodiments of thisapplication, and an interaction message received by the first (forexample, object Y1) on the first client may be collectively referred toas a second interaction message in the embodiments of this application.Correspondingly, an interaction message received by the second object(for example, an object Y2) on the second client may also be referred toas a first interaction message in the embodiments of this application,and an interaction message transmitted by the second object (forexample, object Y2) on the second client may also be referred to as asecond interaction message in the embodiments of this application.

It is to be understood that the embodiments of this application may beapplied to a service scenario of triggering interactive emoticon rain onan interaction interface, and the first interaction message and thesecond interaction message may be used for triggering interactiveemoticon rain on an application client. The interactive emoticon rainmay indicate that a single user triggers emoticon rain by using aninteraction message. Multi-user triggering may produce linkage effects,to implement social interaction between emoticon rain, and enhance fun.The interactive emoticon rain, as an Easter egg of a chat, can bringusers a sense of surprise in a daily chat, and create a sense ofatmosphere on some special days. In addition, the form of interactionshortens a distance between users in a conversation.

For ease of understanding, further, refer to FIG. 2A and FIG. 2B. FIG.2A and FIG. 2B are schematic diagrams showing a data exchange scenarioaccording to an embodiment of this application. A server 20 a shown inFIG. 2A may be the service server 2000 in the embodiment correspondingto FIG. 1 . A terminal device 20 b shown in FIG. 2A may be any terminaldevice in the terminal device cluster in the embodiment corresponding toFIG. 1 . A terminal device 20 d shown in FIG. 2A and FIG. 2B may be anyterminal device in the terminal device cluster in the embodimentcorresponding to FIG. 1 . For ease of understanding, in this embodimentof this application, an example in which the terminal device 20 b is afirst terminal and the terminal device 20 d is a second terminal is usedfor describing a specific process of data exchange between the terminaldevice 20 b, the terminal device 20 d, and the server 20 a shown in FIG.2A and FIG. 2B.

An object corresponding to the terminal device 20 b may be an object 20c, and the object 20 c may serve as a message sender or a messagerecipient through a first client on the terminal device 20 b. An objectcorresponding to the terminal device 20 d may be an object 20 e, and theobject 20 e may serve as a message sender or a message recipient througha second client on the terminal device 20 d. The first client and thesecond client may periodically obtain a resource library associated withinteractive emoticon rain from the server 20 a.

An interaction interface 21 a, an interaction interface 21 b, aninteraction interface 21 c, and an interaction interface 21 d shown inFIG. 2A may be interaction interfaces of the first client at differentmoments. The object 20 c may transmit an interaction message 22 athrough the first client. In this way, the first client may obtain theinteraction interface 21 a on which the interaction message 22 a isdisplayed. When the interaction message 22 a is displayed on theinteraction interface 21 a, the first client may obtain a virtual object22 b associated with the interaction message 22 a from the resourcelibrary, display the obtained virtual object 22 b in an interaction areain which the interaction message 22 a is located, and then move anddisplay, on the interaction interface 21 a, the virtual object 22 b froma location of the interaction area in which the interaction message 22 ais located. The interaction area in which the interaction message 22 ais located may be a message box of the interaction message 22 a on theinteraction interface 21 a. In this case, a display location of thevirtual object 22 b may be a display location 25 a. The virtual object22 b may be a “lion” shown in FIG. 2A. A style of the virtual object 22b is not limited in this application.

In addition, when the virtual object 22 b is displayed on theinteraction interface 21 a, the first client may obtain a resourceobject 22 c associated with the interaction message 22 a from theresource library, display the obtained resource object 22 c at a targetlocation on the interaction interface 21 a, and then move and display,on the interaction interface 21 a, the resource object 22 c from thetarget location. The target location may be the top of a message area onthe interaction interface 21 a. In this case, a display location of theresource object 22 c may be a display location 25 b. The resource object22 c may be a “lucky bag” shown in FIG. 2A. A style of the resourceobject 22 c is not limited in this application.

As shown in FIG. 2A, the object 20 c may receive an interaction message23 a through the first client. In this way, the first client may obtainthe interaction interface 21 b on which the interaction message 23 a isdisplayed. When the interaction message 23 a is displayed on theinteraction interface 21 b, the first client may obtain a virtual object23 b associated with the interaction message 23 a from the resourcelibrary, display the obtained virtual object 23 b in an interaction areain which the interaction message 23 a is located, and then move anddisplay, on the interaction interface 21 b, the virtual object 23 b froma location of the interaction area in which the interaction message 23 ais located. The interaction area in which the interaction message 23 ais located may be a message box of the interaction message 23 a on theinteraction interface 21 b. In this case, a display location of thevirtual object 23 b may be a display location 25 c. The virtual object23 b may be the “lion” shown in FIG. 2A. A style of the virtual object23 b is not limited in this application.

As shown in FIG. 2A, during joint movement of the virtual object 22 b,the virtual object 23 b, and the resource object 22 c, display locationsrespectively corresponding to the virtual object 22 b, the virtualobject 23 b, and the resource object 22 c change. Herein, it is assumedthat a display location of the virtual object 23 b in movement maycoincide with a display location of the resource object 22 c inmovement. In this case, when the display location of the virtual object23 b in movement coincides with the display location of the resourceobject 22 c in movement, the first client may trigger the virtual object23 b to perform an interactive action (for example, a collision action)with respect to the resource object 22 c, to shift a location of theresource object 22 c on the interaction interface 21 c, and switch theinteraction interface 21 c to the interaction interface 21 d. When thedisplay location of the virtual object 23 b in movement coincides withthat the display location of the resource object 22 c in movement, thedisplay location of the resource object 22 c may be a display location25 f, the display location of the virtual object 23 b may be a displaylocation 25 e, and the display location of the virtual object 22 b maybe a display location 25 d.

In addition, the first client may display, at the display location 25 fof the resource object 22 c, a resource sub-object matching theinteraction message 23 a. Herein, there may be at least one resourcesub-object matching the interaction message 23 a. For example, as shownin FIG. 2A, there may be five resource sub-objects matching theinteraction message 23 a. The five resource sub-objects may include aresource sub-object 24 a, a resource sub-object 24 b, a resourcesub-object 24 c, a resource sub-object 24 d, and a resource sub-object24 e.

Optionally, when the display location of the virtual object 22 b inmovement coincides with the display location of the resource object 22 cin movement, the first client may trigger the virtual object 22 b toperform an interactive action (for example, a collision action) withrespect to the resource object 22 c, to shift a location of the resourceobject 22 c on the interaction interface 21 c. In addition, the firstclient may display, at the display location 25 f of the resource object22 c, a resource sub-object (not shown in the figure) matching theinteraction message 22 a. Herein, there may be at least one resourcesub-object matching the interaction message 22 a.

It can be understood that different “lions” jump on the interactioninterface after bursting out of different message bubbles. When a trackof a “lion” meets a falling track of the “lucky bag,” the “lion” pushesup the “lucky bag,” and materials of various elements (namely, resourcesub-objects) fall out of the “lucky bag.” When the display location ofthe resource object 22 c in movement coincides with the display locationof the virtual object 22 b and the display location of the virtualobject 23 b at different moments, two “lions” may interact with eachother and push up the “lucky bag” in turn.

It is to be understood that the resource sub-object matching theinteraction message 23 a may be referred to as a first resourcesub-object, and the resource sub-object matching the interaction message22 a may be referred to as a second resource sub-object. In thisembodiment of this application, an example in which there are at leasttwo first resource sub-objects and at least two second resourcesub-object is used for description. The first resource sub-object andthe second resource sub-object may be the same or different. This is notlimited in this embodiment of this application.

An interaction interface 26 a, an interaction interface 26 b, aninteraction interface 26 c, and an interaction interface 26 d shown inFIG. 2B may be interaction interfaces of the second client at differentmoments. The object 20 e may receive an interaction message 22 a throughthe second client. In this way, the second client may obtain theinteraction interface 26 a on which the interaction message 22 a isdisplayed. When the interaction message 22 a is displayed on theinteraction interface 26 a, the second client may display, in aninteraction area in which the interaction message 22 a is located, avirtual object 22 b associated with the interaction message 22 a, andthen move and display, on the interaction interface 26 a, the virtualobject 22 b from a location of the interaction area in which theinteraction message 22 a is located.

In addition, when the virtual object 22 b is displayed on theinteraction interface 26 a, the second client may display, at a targetlocation on the interaction interface 26 a, a resource object 22 cassociated with the interaction message 22 a, and then move and display,on the interaction interface 26 a, the resource object 22 c from thetarget location.

As shown in FIG. 2B, the object 20 e may transmit an interaction message23 a through the second client. In this way, the second client mayobtain the interaction interface 26 b on which the interaction message23 a is displayed. When the interaction message 23 a is displayed on theinteraction interface 26 b, the second client may display, in aninteraction area in which the interaction message 23 a is located, avirtual object 23 b associated with the interaction message 23 a, andthen move and display, on the interaction interface 26 b, the virtualobject 23 b from a location of the interaction area in which theinteraction message 23 a is located.

As shown in FIG. 2B, during joint movement of the virtual object 22 b,the virtual object 23 b, and the resource object 22 c, display locationsrespectively corresponding to the virtual object 22 b, the virtualobject 23 b, and the resource object 22 c change. Herein, it is assumedthat a display location of the virtual object 23 b in movement maycoincide with a display location of the resource object 22 c inmovement. In this case, when the display location of the virtual object23 b in movement coincides with the display location of the resourceobject 22 c in movement, the second client may trigger the virtualobject 23 b to perform an interactive action (for example, a collisionaction) with respect to the resource object 22 c, to shift a location ofthe resource object 22 c on the interaction interface 26 c, and switchthe interaction interface 26 c to the interaction interface 26 d.

In addition, the second client may display, at the display location ofthe resource object 22 c, a resource sub-object 24 a, a resourcesub-object 24 b, a resource sub-object 24 c, a resource sub-object 24 d,and a resource sub-object 24 e that match the interaction message 23 a.

Optionally, when the display location of the virtual object 22 b inmovement coincides with the display location of the resource object 22 cin movement, the second client may trigger the virtual object 22 b toperform an interactive action (for example, a collision action) withrespect to the resource object 22 c, to shift a location of the resourceobject 22 c on the interaction interface 26 c. In addition, the secondclient may display, at the display location of the resource object 22 c,a resource sub-object matching the interaction message 22 a.

It can be learned that, in this embodiment of this application, aneffective interaction technical solution can be implemented. The firstvirtual object is moved and displayed from the interaction areaassociated with the first object, and the second virtual object isdisplayed from the interaction area associated with the second object,so that a personalized virtual object display mode can be implemented.In addition, the first virtual object and the resource object associatedwith the first object, and the second virtual object associated with thesecond object may be displayed on the interaction interface in asuperposed manner, and the first virtual object, the second virtualobject, and the resource object can interact with each other on theinteraction interface. Therefore, through multi-message linkage and coolvisual display, this embodiment of this application can help objectsbetter interact with each other by using emoticons (that is, virtualobjects and resource objects), enrich display effects of virtual objectsassociated with interaction messages, and further enhance emotionalexpressions and fun of interaction, so as to improve user experience ofinteraction.

Further, FIG. 3 is a schematic flowchart of a data processing methodaccording to an embodiment of this application. The method may beperformed by a server, an application client, or both a server and anapplication client. The server may be the server 20 a in the embodimentcorresponding to FIG. 2A. The application client may be the first clienton the terminal device 20 b in the embodiment corresponding to FIG. 2A.For ease of understanding, an example in which the method is performedby the application client is used for description in this embodiment ofthis application. The data processing method may include the followingS101 and S102.

S101: In a case that a first interaction message is displayed on aninteraction interface, display a first virtual object in a firstinteraction area in which the first interaction message is located.

Specifically, in a case that the first interaction message is displayedon the interaction interface and the first interaction message includeskey message data with a virtual object trigger function, the applicationclient may obtain the first virtual object indicated by the key messagedata and a validity time range from a resource library. The resourcelibrary (namely, a local word list) is periodically obtained by anapplication client to which the interaction interface belongs. The firstinteraction message is transmitted by a first object. The first virtualobject is associated with the first interaction message. Further, in acase that current time is within the validity time range, theapplication client may display the first virtual object in the firstinteraction area in which the first interaction message is located.Optionally, in a case that current time is not within the validity timerange, the application client does not need to display the first virtualobject in the first interaction area in which the first interactionmessage is located.

It can be understood that related data, such as user interactioninformation, a name of a multi-user chat interface of a user, and afriend relationship between users, is involved in this application. Whenthe foregoing embodiments of this application are applied to a specificproduct or technology, user permission or consent is required, andcollection, use, and processing of related data need to comply withrelated laws, regulations, and national standards in related countries.

It can be understood that the first object may perform userauthorization in an informed case. After user authorization succeeds,the application client may perform matching between an interactionmessage and the key message data. In addition, the application client orthe server only performs matching between the interaction message andthe key message data, without analyzing or storing data of theinteraction message. The application client may further display, to thefirst object in advance, the key message data for triggering interactiveemoticon rain, so that the first object can transmit an interactionmessage including the key message data on the interaction interface whenthe first object needs to use an interactive emoticon rain function.

Optionally, in a case that the application client does not obtain avalidity time range indicated by the key message data from the resourcelibrary, the application client may determine that the key message datadoes not have a validity time range, and determine that the key messagedata can take effect for a long term.

It can be understood that the application client may compare the currenttime with the validity time range to determine whether the current timeis within the validity time range. For example, the validity time rangemay be January 1 to January 7. In a case that the current time is 12:00on January 5, the application client may determine that the current timeis within the validity time range. In a case that the current time is12:00 on January 8, the application client may determine that thecurrent time is not within the validity time range.

It can be understood that the first interaction message may be a textmessage, a picture message, a video message, an audio message, or anemoticon message. Examples are not listed one by one herein. Forexample, in a case that the first interaction message is a text message,the key message data may be a keyword extracted from the text message.For another example, in a case that the first interaction message is apicture message, the key message data may be a keyword extracted fromthe picture message. For another example, in a case that the firstinteraction message is a video message, the key message data may be akeyword identified from the video message. For another example, in acase that the first interaction message is an audio message, the keymessage data may be a keyword identified from the audio message. Foranother example, in a case that the first interaction message is anemoticon message, the key message data may be one or more pieces ofemoticon data in the first interaction message.

It is to be understood that different virtual objects may be obtainedbased on the validity time range indicated by the key message data,thereby displaying different display effects on the interactioninterface, and enhancing fun of interaction on the interactioninterface. For example, at a moment T1, the first virtual objectindicated by the key message data may be a virtual object D1; and at amoment T2, the first virtual object indicated by the key message datamay be a virtual object D2.

It can be understood that, in a case that the first interaction messageincludes one piece of key message data with a virtual object triggerfunction, the application client may display, on the interactioninterface, a first virtual object indicated by the key message data. Onepiece of key message data may correspond to one or more virtual objects,and a plurality of pieces of key message data may also correspond to onevirtual object. Optionally, in a case that the first interaction messageincludes at least two pieces of key message data with a virtual objecttrigger function, the application client may display, on the interactioninterface, a first virtual object indicated by each of the at least twopieces of key message data; or may display, on the interactioninterface, a first virtual object indicated by any one of the at leasttwo pieces of key message data. For ease of understanding, an example inwhich the first interaction message includes one piece of key messagedata is used for description in this embodiment of this application.

It can be understood that the application client may periodically obtainthe resource library from the server, so that the application client canautomatically apply the resource library to an object without an update.For example, when the first object starts the application client, theapplication client may obtain an updated resource library from theserver, and use the updated resource library to update a resourcelibrary in a local memory. Key message data, a design resource, avalidity time range, and a resource trajectory may be preconfigured inthe resource library. The key message data herein may be a keyword oremoticon data. The design resource herein may be a first virtualresource. The resource trajectory herein may be used for indicating amoving track of the design resource on the interaction interface.

S102: Display, on the interaction interface, interactive movementinvolving the first virtual object and a resource object.

The interactive movement includes moving the first virtual object from alocation of the first interaction area.

The application client may obtain a resource trajectory indicated by thefirst virtual object from the resource library, and then move anddisplay the first virtual object based on the resource trajectory.

For ease of understanding, refer to FIG. 4 . FIG. 4 is a schematicdiagram showing a scenario of displaying a first virtual objectaccording to an embodiment of this application. An interaction interface40 a and an interaction interface 40 b shown in FIG. 4 may beinteraction interfaces of the application client at different moments.It is to be understood that an interaction interface for interaction onthe application client may be a single-user chat interface or amulti-user chat interface. This is not limited in this application. Forease of understanding, an example in which the interaction interface isa multi-user chat interface is used for description in this embodimentof this application. A name of the multi-user chat interface herein maybe “Loving family.”

As shown in FIG. 4 , the interaction interface 40 a may include aplurality of interaction messages, and the first object may transmit afirst interaction message through the application client. The firstinteraction message herein may be an interaction message 41 a, and theinteraction message 41 a herein may be “AA drink.” This is not limitedin this application. It can be understood that, in a case that theinteraction message 41 a is displayed on interaction interface 40 a, theapplication client may obtain a first interaction area in which theinteraction message 41 a is located, where the first interaction areaherein may be an interaction area 41 b; and then display a first virtualobject associated with the interaction message 41 a in the interactionarea 41 b to obtain the interaction interface 40 b. The first virtualobject herein may be a virtual object 41 c.

It is to be understood that the virtual object 41 c herein may be a“lion” or a “tiger.” This is not limited in this application. Theinteraction area 41 b is a message bubble on the interaction interface40 b. Visually, display of the “lion” in the interaction area 41 b maybe understood as that the “lion” jumps out of the message bubble.

It can be understood that the first virtual object is not completelydisplayed in the first interaction area, and the first virtual objectmay be partially displayed in the first interaction area. Visually, thefirst virtual object may jump out of the first interaction area and thencontinue to move and be displayed on the interaction interface.

It can be learned that, in this embodiment of this application, in acase that the first interaction message is displayed on the interactioninterface, the first virtual object may be displayed in the firstinteraction area in which the first interaction message is located, andthen the interactive movement involving the first virtual object and theresource object is displayed on the interaction interface. Theinteractive movement includes moving and displaying the first virtualobject from the location of the first interaction area. The firstinteraction message is transmitted by the first object, and the firstvirtual object is associated with the first interaction message. It canbe learned that, when the first object transmits the first interactionmessage on the interaction interface, the first virtual objectassociated with the first interaction message may be displayed in thefirst interaction area in which the first interaction message islocated. In addition, because a display location of the first virtualobject is related to an area in which the first interaction message islocated, associated virtual objects can be displayed at differentlocations for interaction messages in different areas on the interactioninterface, so that virtual objects and resource objects associated withsame interaction messages can be displayed by using differentpresentation animations on the interaction interface. Therefore, apersonalized virtual object display mode is implemented, and displayeffects of virtual objects associated with interaction messages areenriched.

Further, FIG. 5 is a schematic flowchart of a data processing methodaccording to an embodiment of this application. The method may beperformed by a server, an application client, or both a server and anapplication client. The server may be the server 20 a in the embodimentcorresponding to FIG. 2A. The application client may be the first clienton the terminal device 20 b in the embodiment corresponding to FIG. 2A.For ease of understanding, an example in which the method is performedby the application client is used for description in this embodiment ofthis application. The data processing method may include the followingS201 to S204.

S201: In a case that a first interaction message is displayed on aninteraction interface, display a first virtual object in a firstinteraction area in which the first interaction message is located.

The first interaction message is transmitted by a first object. Thefirst virtual object is associated with the first interaction message.

For a specific process of displaying, by the application client, thefirst virtual object in the first interaction area, refer to thedescriptions of S101 in the embodiment corresponding to FIG. 3 . Detailsare not described herein again.

S202: In a case that the first virtual object is displayed in the firstinteraction area, display a resource object at a target location on theinteraction interface.

The resource object is associated with the first interaction message.

It can be understood that the target location may be different from orthe same as a location of the first interaction area on the interactioninterface. In this embodiment of this application, an example in whichthe target location is different from the location of the firstinteraction area on the interaction interface is used for description.

It can be understood that, in a case that the first interaction messageis displayed on the interaction interface, the application client maysimultaneously display the first virtual object and resource object onthe interaction interface, or may first display the first virtual objectand then display the resource object, or may first display the resourceobject and then display the first virtual object. For ease ofunderstanding, an example in which the first virtual object is firstdisplayed and then the resource object is displayed is used fordescription in this embodiment of this application. A display timeinterval between the first virtual object and the resource object is notlimited in this embodiment of this application.

For ease of understanding, refer to FIG. 6 . FIG. 6 is a schematicdiagram showing a scenario of displaying a resource object according toan embodiment of this application. An interaction interface 60 a and aninteraction interface 60 b shown in FIG. 6 may be interaction interfacesof the application client at different moments. The interactioninterface 60 a may be the interaction interface 40 b in the embodimentcorresponding to FIG. 4 . An interaction message 61 a and a virtualobject 61 b associated with the interaction message 61 a may bedisplayed on the interaction interface 60 a.

As shown in FIG. 6 , in a case that the virtual object 61 b is displayedon the interaction interface 60 a, after a specific display timeinterval, the application client may determine a target location on theinteraction interface 60 a, and then display, at the target location, aresource object 61 c associated with the interaction message 61 a, toswitch the interaction interface 60 a to the interaction interface 60 b.The virtual object 61 b may be displayed in an interaction area 62 a,and the resource object 61 c may be displayed at the target location 62b. For example, in a case that the display time interval is 1 second,the application client may display the virtual object 61 b in theinteraction area 62 a, and then display the resource object 61 c at thetarget location 62 b after 1 second.

S203: Display, on the interaction interface, interactive movementinvolving the first virtual object and the resource object.

The interactive movement includes moving and displaying the firstvirtual object from a location of the first interaction area.

Specifically, the application client may obtain an object locationdistance between a display location of the first virtual object and adisplay location of the resource object. Further, the application clientmay generate, on the interaction interface, a virtual area indicated bythe object location distance. Further, the application client may moveand display the first virtual object based on the virtual area from alocation of the first interaction area.

It can be understood that a resource trajectory indicated by the firstvirtual object is determined based on the display location of the firstvirtual object and the display location of the resource object. For aspecific process of starting, by the application client, to move anddisplay the first virtual object based on the resource trajectory, referto descriptions of S2031 to S2035 in an embodiment corresponding to FIG.10 below.

S204: Move and display, on the interaction interface, the resourceobject from the target location.

Specifically, the application client may obtain a default moving trackindicated by the resource object from a resource library. Neither thedefault moving track nor a moving speed of the resource object islimited in this embodiment of this application. Further, the applicationclient may move and display, on a session interface, the resource objectbased on the default moving track from the target location. The defaultmoving track herein may also be referred to as a resource trajectoryindicated by the resource object. In a case that different input boxesare displayed on the interaction interface, resource objects have a samefloating range. For example, in a case that a system keyboard and anobject bar are displayed, resource objects have a same moving range, buthave different display effects.

It can be understood that the application client may simultaneously moveand display the first virtual object and the resource object on theinteraction interface, or may first move and display the first virtualobject on the interaction interface and then move and display theresource object, or may first move and display the resource object onthe interaction interface and then move and display the first virtualobject. In a case that the target location is different from thelocation of the first interaction area on the interaction interface, thefirst virtual object in movement and display and the resource object inmovement and display may perform an interactive action. Optionally, in acase that the target location is the same as the location of the firstinteraction area on the interaction interface, the resource trajectoryindicated by the first virtual object is different from the resourcetrajectory indicated by the resource object, and the first virtualobject in movement and display and the resource object in movement anddisplay may also perform an interactive action.

It is to be understood that, for a specific process of directly movingand displaying, by the application client, the resource object on thesession interface, reference may be made to FIG. 7A. FIG. 7A is aschematic diagram showing a scenario of moving a resource objectaccording to an embodiment of this application. An interaction interface70 a may include a resource object 71 a. A default moving track of theresource object 71 a on the interaction interface 70 a may be a resourcetrajectory 71 b. A starting point of the resource trajectory 71 b may bea target location on the interaction interface 70 a, and an ending pointof the resource trajectory 71 b may be an update location on theinteraction interface 70 a. Specific locations of the target locationand the update location are not limited in this embodiment of thisapplication.

An interaction interface 70 b shown in FIG. 7A may indicate that theresource object 71 a moves from the starting point of the resourcetrajectory 71 b to the ending point of the resource trajectory 71 b. Theinteraction interface may switch from the interaction interface 70 a tothe interaction interface 70 b. The resource object 71 a may move fromthe target location on the interaction interface 70 a to the updatelocation on the interaction interface 70 b. In this case, a displaylocation of the resource object 71 a may be a display location 71 c.

Optionally, the interaction interface may include a virtual object area(namely, an object bar) and a message display area. The message displayarea is an area other than the virtual object area on the interactioninterface. It is to be understood that the application client may movethe resource object from the target location. Further, in a case thatthe resource object in movement is located in the message display area,the application client may display the resource object in the messagedisplay area; or in a case that the resource object in movement islocated in the virtual object area, the application client may displaythe resource object in the virtual object area.

It is to be understood that, for a specific process of moving anddisplaying, by the application client, the resource object in thevirtual object area and the message display area, reference may be madeto FIG. 7B. FIG. 7B is a schematic diagram showing a scenario of movinga resource object according to an embodiment of this application. Aninteraction interface 72 a may include a resource object 73 a. A defaultmoving track of the resource object 73 a on the interaction interface 72a may be a resource trajectory 73 b.

As shown in FIG. 7B, the interaction interface 72 a may include avirtual object area 73 c and a message display area, and the messagedisplay area may be an area other than the virtual object area 73 c onthe interaction interface 72 a. It can be understood that theinteraction interface 72 a shown in FIG. 7B may indicate that theresource object 73 a moves from a starting point of the resourcetrajectory 73 b to an ending point of the resource trajectory 73 b.During movement and display of the resource object 73 a, the interactioninterface may switch from the interaction interface 72 a to aninteraction interface 72 b.

As shown in the interaction interface 72 b in FIG. 7B, in a case thatthe resource object 73 a in movement is located in the message displayarea, the application client may display the resource object 73 a inmovement in the message display area; or in a case that the resourceobject 73 a in movement is located in the virtual object area 73 c, theapplication client may display the resource object 73 a in the virtualobject area 73 c. In a case that the resource object 73 a in movement islocated in both the virtual object area 73 c and the message displayarea, the application client may display and move the resource object 73a in both the virtual object area 73 c and the message display area.

Optionally, the interaction interface includes a virtual keyboard area(namely, a system keyboard) and a message display area. The messagedisplay area is an area other than the virtual keyboard area on theinteraction interface. It is to be understood that the applicationclient may move the resource object from the target location. Further,in a case that the resource object in movement is located in the messagedisplay area, the application client may display the resource object inthe message display area; or in a case that the resource object inmovement is located in the virtual keyboard area, the application clientmay display the resource object under a virtual keyboard in the virtualkeyboard area.

It is to be understood that, for a specific process of moving anddisplaying, by the application client, the resource object in thevirtual keyboard area and the message display area, reference may bemade to FIG. 7C. FIG. 7C is a schematic diagram showing a scenario ofmoving a resource object according to an embodiment of this application.An interaction interface 74 a may include a resource object 75 a. Adefault moving track of the resource object 75 a on the interactioninterface 74 a may be a resource trajectory 75 b.

As shown in FIG. 7C, the interaction interface 74 a may include avirtual keyboard area 75 c and a message display area, and the messagedisplay area may be an area other than the virtual keyboard area 75 c onthe interaction interface 74 a. It can be understood that theinteraction interface 74 a shown in FIG. 7C may indicate that theresource object 75 a moves from a starting point of the resourcetrajectory 75 b to an ending point of the resource trajectory 75 b inthe message display area. During movement and display of the resourceobject 75 a, the interaction interface may switch from the interactioninterface 74 a to an interaction interface 74 b. An ending point of theresource trajectory 75 b on interaction interface 74 a is different fromthe ending point of the resource trajectory 75 b in the message displayarea. After moving to the ending point of the resource trajectory 75 bin the message display area, the resource object 75 a continues to moveto the ending point of the resource trajectory 75 b on the interactioninterface 74 a.

As shown in the interaction interface 74 b in FIG. 7C, in a case thatthe resource object 75 a in movement is located in the message displayarea, the application client may display the resource object 75 a inmovement in the message display area; or in a case that the resourceobject 75 a in movement is located in the virtual keyboard area 75 c,the application client may display the resource object 75 a in movementunder a virtual keyboard in the virtual keyboard area 75 c. In a casethat the resource object 75 a in movement is located in both the virtualkeyboard area 75 c and the message display area, the application clientmay display, in the message display area, a part of the resource object73 a in movement that is located in the message display area; anddisplay, under a virtual keyboard in the virtual keyboard area 75 c, apart of the resource object 73 a in movement that is located in thevirtual keyboard area 75 c.

It can be understood that, in a case that the resource object 75 a ispartially displayed or completely not displayed on the interactioninterface 74 b, and the resource object 75 a does not move to the endingpoint of the resource trajectory 75 b on the interaction interface 74 a,when the first object performs a hide operation on the virtual keyboardarea 75 c on the interaction interface 74 b, the application client mayhide the virtual keyboard area 75 c on the interaction interface 74 b inresponse to the hide operation performed by the first object, so thatthe resource object 75 a is completely displayed on the interactioninterface 74 b again.

It is to be understood that, during the foregoing interactive movement,the application client may control the first virtual object to performan interactive action with respect to the resource object in a case thatthe display location of the first virtual object coincides with thedisplay location of the resource object. The interactive action hereinmay be a collision action.

It is to be understood that the application client may add a virtualdetection area (namely, a first virtual detection area) for the firstvirtual object, and add a resource detection area for the resourceobject. Further, during movement of the first virtual object and theresource object, the application client may generate an area-coincidencedegree (namely, a first area-coincidence degree) between the virtualdetection area and the resource detection area based on an areaintersection and an area union between the virtual detection area andthe resource detection area. Further, in a case that thearea-coincidence degree is greater than a coincidence degree threshold,the application client may determine that the display location of thefirst virtual object in movement coincides with the display location ofthe resource object in movement. A specific value of the coincidencedegree threshold is not limited in this embodiment of this application.Optionally, in a case that the area-coincidence degree is not greaterthan the coincidence degree threshold, the application client maydetermine that the display location of the first virtual object inmovement does not coincide with the display location of the resourceobject in movement.

It can be understood that the application client may determine thearea-coincidence degree between the virtual detection area and theresource detection area by using an intersection-over-union (IoU). TheIoU is a concept used in object detection, and may indicate a ratio ofthe area intersection to the area union herein, that is, a result of thearea intersection divided by the area union.

Shapes of a virtual detection area and a resource detection area used incollision detection in this embodiment of this application may be asemicircular shape. In this case, the collision detection may bereferred to as semicircular collision detection. The virtual detectionarea may represent an upper half of the first virtual object, and theresource detection area may represent a lower half of the resourceobject. The collision detection may be expressed as adding boundaries(namely, detection areas) to objects that require collision detectionand determining whether the boundaries meet a collision detectioncondition (for example, in a case that the area-coincidence degree isgreater than the coincidence degree threshold, it is determined that theboundaries meet the collision detection condition), to determine acollision detection result. It is to be understood that the shapes ofthe virtual detection area and the resource detection area mayalternatively be a rectangular or triangular shape. This is not limitedin this application.

Optionally, during movement of the first virtual object and the resourceobject, the application client may further determine whether the virtualdetection area and the resource detection area have an intersection.Further, in a case that the virtual detection area and the resourcedetection area have an intersection, the application client maydetermine that the display location of the first virtual object inmovement coincides with the display location of the resource object inmovement. Optionally, in a case that the virtual detection area and theresource detection area have no intersection, the application client maydetermine that the display location of the first virtual object inmovement does not coincide with the display location of the resourceobject in movement.

For ease of understanding, refer to FIG. 8 . FIG. 8 is a schematicdiagram showing a collision detection scenario according to anembodiment of this application. An interaction interface 80 a and aninteraction interface 80 b shown in FIG. 8 may be interaction interfacesof the application client at different moments. The interactioninterface 80 a may be the interaction interface 60 b in the embodimentcorresponding to FIG. 6 .

As shown in FIG. 8 , a virtual object 81 a and a resource object 81 care displayed on the interaction interface 80 a. The application clientmay add a virtual detection area for the virtual object 81 a, and add aresource detection area for the resource object 81 c. The virtualdetection area herein may be a detection area 81 b, and the resourcedetection area herein may be a detection area 81 d. It can be understoodthat, during the movement of the virtual object 81 a and the resourceobject 81 c, a location of the detection area 81 b moves with thevirtual object 81 a, and a location of the detection area 81 d moveswith the resource object 81 c.

As shown in FIG. 8 , during switching from the interaction interface 80a to the interaction interface 80 b, an area 82 a and an area 82 b onthe interaction interface 80 b may be the detection area 81 d, and thearea 82 b and an area 82 c on the interaction interface 80 b may be thedetection area 81 b. The area 82 b may be an area intersection betweenthe detection area 81 b and the detection area 81 d. The area 82 a, thearea 82 b, and the area 82 c may be an area union between the detectionarea 81 b and the detection area 81 d. In this way, the applicationclient may generate an area-coincidence degree between the detectionarea 81 b and the detection area 81 d based on the area intersection andthe area union; and in a case that the area-coincidence degree isgreater than a coincidence degree threshold, may determine that adisplay location of the virtual object 81 a in movement coincide with adisplay location of the resource object 81 c in movement.

Optionally, during switching from the interaction interface 80 a to theinteraction interface 80 b, in a case that the detection area 81 b andthe detection area 81 d have an intersection, that is, the area 82 b maybe generated based on the detection area 81 b and the detection area 81d, the application client may determine that the display location of thevirtual object 81 a in movement coincides with the display location ofthe resource object 81 c in movement.

It is to be understood that a location of the resource objects may beshifted on the interaction interface based on an interactive action. Theapplication client may determine a display location of the resourceobject whose location has been shifted. The resource object whoselocation has been shifted may or may not exceed a display range of theinteraction interface, i.e., the resource object may move out of thedisplay range or remain within the display range.

In a case that the resource object whose location has been shiftedexceeds the display range of the interaction interface, i.e., theresource object moves out of the display range of the interactioninterface, the application client may display, at a location at whichthe resource object disappears, a first resource sub-object matching thefirst interaction message. The first resource sub-object has a functionof moving on the interaction interface. It is to be understood that, ina case that the resource object whose location has been shifted exceedsthe display range of the interaction interface (namely, a screen range),the resource object whose location has been shifted does not return tothe interaction interface again, but is automatically destructeddirectly. This can ensure that the display location of the first virtualobject does not coincide with a display location of the resource objectbeyond the screen range.

For ease of understanding, refer to FIG. 9A. FIG. 9A is a schematicdiagram showing a scenario of displaying a first resource sub-objectaccording to an embodiment of this application. An interaction interface90 a and an interaction interface 90 b shown in FIG. 9A may beinteraction interfaces of the application client at different moments.The interaction interface 90 a may be the interaction interface 80 b inthe embodiment corresponding to FIG. 8 . The interaction interface 90 amay include a virtual object 91 a and a resource object 91 b. Thevirtual object 91 a and the resource object 91 b may be associated withthe first interaction message.

As shown in FIG. 9A, a location of the resource object 91 b may beshifted based on an interactive action performed by the virtual object91 a. When the resource object 91 b whose location has been shiftedexceeds a display range of the interaction interface, the interactioninterface may switch from the interaction interface 90 a to theinteraction interface 90 b. In this case, the resource object 91 b whoselocation has been shifted may exceed the display range from adisappearance location 91 c on the interaction interface 90 b. This canensure that a resource sub-object triggered by the resource objectbeyond a screen range plays a current animation, without disappearinginstantly. Therefore, the application client may display the resourcesub-object matching the first interaction message at the disappearancelocation 91 c. The first interaction message herein may be “AA drink.”The resource sub-object herein may be “AA drink bottle” displayed fromthe disappearance location 91 c.

Optionally, in a case that the resource object whose location has beenshifted is within the display range of the interaction interface, theapplication client may display, at a display location of the resourceobject whose location has been shifted, a first resource sub-objectmatching the first interaction message. The first resource sub-objecthas a function of moving on the interaction interface. Further, theapplication client may continue to move and display, on the interactioninterface, the resource object whose location has been shifted.

For ease of understanding, refer to FIG. 9B. FIG. 9B is a schematicdiagram showing a scenario of displaying a first resource sub-objectaccording to an embodiment of this application. An interaction interface90 a and an interaction interface 90 c shown in FIG. 9B may beinteraction interfaces of the application client at different moments.The interaction interface 90 a may be the interaction interface 90 a inthe embodiment corresponding to FIG. 9A. The interaction interface 90 amay include a virtual object 91 a and a resource object 91 b. Thevirtual object 91 a and the resource object 91 b may be associated withthe first interaction message.

As shown in FIG. 9B, a location of the resource object 91 b may beshifted based on an interactive action performed by the virtual object91 a. When the resource object 91 b whose location has been shiftedexceeds a display range of the interaction interface, the interactioninterface may switch from the interaction interface 90 a to theinteraction interface 90 c. Therefore, the application client maydisplay, at a display location 91 d of the resource object 91 b whoselocation has been shifted, a resource sub-object matching the firstinteraction message. The first interaction message herein may be “AAdrink.” The resource sub-object herein may be “AA drink bottle”displayed from the display location 91 d.

It can be understood that, in a case that the resource object whoselocation has been shifted exceeds or does not exceed the display rangeof the interaction interface, the application client may alternativelymove and display the first resource sub-object and continue to move anddisplay the first virtual object on the interaction interface. Aresource trajectory of the first virtual object does not change due tocollision with the resource object.

It can be learned that, in this embodiment of this application, in acase that the first interaction message transmitted by the first objectis displayed on the interaction interface, the first virtual object maybe displayed in the first interaction area in which the firstinteraction message is located, and the resource object may be displayedat the target location on the interaction interface; and then the firstvirtual object and the resource object are moved on the interactioninterface from display locations of the first virtual object and theresource object respectively. It is to be understood that, during jointmovement of the first virtual object and the resource object, in a casethat the display location of the first virtual object coincides with adisplay location of a second virtual object, the first virtual objectmay be triggered to perform an interactive action with respect to theresource object, so that the first resource sub-object matching thefirst interaction message is displayed on the interaction interface.Based on this, the first virtual object is moved and displayed from thefirst interaction area associated with the first object, so that apersonalized virtual object display mode can be implemented. Inaddition, for the first virtual object and the resource object that areassociated with the first interaction message, the first virtual objectand the resource object can interact with each other on the interactioninterface, to enrich display effects of virtual objects associated withinteraction messages.

Further, FIG. 10 is a schematic flowchart of a data processing methodaccording to an embodiment of this application. The data processingmethod may include the following S2031 to S2035, and S2031 to S2035 area specific embodiment of S203 in the embodiment corresponding to FIG. 5.

S2031: Obtain an object location distance between a display location ofa first virtual object and a display location of a resource object.

The object location distance may represent a height difference betweenthe display location of the first virtual object and the displaylocation of the resource object.

S2032: Generate, on an interaction interface, a virtual area indicatedby the object location distance.

An application client may perform a jump action on the first virtualobject in the virtual area.

S2033: Determine, in the virtual area, a target moving track and anauxiliary moving track corresponding to the first virtual object.

The target moving track is used for indicating that there is acoincident display location between a display location of the firstvirtual object in movement and a display location of the resource objectin movement. The auxiliary moving track is different from the targetmoving track. The auxiliary moving track is a track other than thetarget moving track in the virtual area. Starting points of both thetarget moving track and the auxiliary moving track are a location of afirst interaction area on the interaction interface.

It can be understood that the target moving track makes the displaylocation of the first virtual object in movement inevitably coincidewith the display location of the resource object in movement, and theauxiliary moving track makes the display location of the first virtualobject in movement possibly coincide or not coincide with the displaylocation of the resource object in movement.

The auxiliary moving track in the virtual area is generated throughinterpolation by using a blendtree of an animator (an animationproduction tool). This can ensure controllability of animation effectsof the auxiliary moving track. The auxiliary moving track controlled bythe blendtree also has a probability of hitting a resource object. Itcan be understood that a ratio value of the blendtree may be determinedbased on different heights of the first interaction area. A specificheight to which the first virtual object jumps may be determined basedon the ratio value. A smaller height of the first interaction areaindicates a larger ratio value. A larger height of the first interactionarea indicates a smaller ratio value. For the first virtual object, alarger height to which the first virtual object needs to jump indicatesa larger ratio value, and a smaller height to which the first virtualobject needs to jump indicates a smaller ratio value.

For ease of understanding, refer to FIG. 11 . FIG. 11 is a schematicdiagram showing a scenario of determining a moving track according to anembodiment of this application. An interaction interface 110 a and aninteraction interface 110 b shown in FIG. 11 may be interactioninterfaces of the application client at different moments. Theinteraction interface 110 a may be the interaction interface 60 b in theembodiment corresponding to FIG. 6 . The interaction interface 110 a mayinclude a virtual object 111 a and a resource object 111 b.

As shown in FIG. 11 , the application client may determine a displaylocation 112 a of the virtual object 111 a and a display location 112 bof the resource object 111 b on the interaction interface 110 a,determine a height difference between the display location 112 a and thedisplay location 112 b, and then generate a virtual area 111 c on theinteraction interface 110 a based on the display location 112 a and thedetermined height difference. The virtual area 111 c may include aplurality of moving tracks, and starting points of the plurality ofmoving tracks are all the display location 112 a. A quantity of movingtracks herein is not limited in this embodiment of this application.

It can be understood that the plurality of moving tracks in the virtualarea 111 c each has a lateral velocity, a longitudinal velocity, alateral acceleration, and a longitudinal acceleration, and the lateralvelocity, the longitudinal velocity, the lateral acceleration, and thelongitudinal acceleration are adjustable. One of the plurality of movingtracks can be uniquely determined based on the lateral velocity, thelongitudinal velocity, the lateral acceleration, and the longitudinalacceleration. In addition, the moving tracks have different endingpoints, and the ending points may or may not be on the interactioninterface 110 b.

The virtual area 111 c shown in FIG. 11 may include a moving track 111d. The moving track may be a target moving track determined by theapplication client in the virtual area 111 c. When the virtual object111 a performs a jump action based on the moving track 111 d, thedisplay location 112 a inevitably coincides with the display location112 b.

S2034: Select a selected moving track based on selection probabilitiesrespectively corresponding to the target moving track and the auxiliarymoving track.

The selected moving track is the target moving track or the auxiliarymoving track. The target moving track and the auxiliary moving track mayhave a same selection probability or different selection probabilities.A value of the selection probability is not fixed.

It is to be understood that the application client may count a firstconsecutive non-collision count of a historical virtual object againstthe resource object in a target time period. The historical virtualobject is associated with a historical interaction message on theinteraction interface. To be specific, the historical virtual object isgenerated through triggering by the historical interaction message. Thehistorical interaction message is transmitted by an object that performsinteraction on the interaction interface. Herein, the object thatperforms interaction on the interaction interface may include a firstobject or a second object. Further, in a case that the first consecutivenon-collision count is equal to a collision trigger threshold, theapplication client may adjust a selection probability corresponding tothe target moving track to a maximum selection probability. Therefore,the application client may determine the target moving track as theselected moving track based on the maximum selection probabilitycorresponding to the target moving track and a selection probabilitycorresponding to the auxiliary moving track.

It can be understood that the first consecutive non-collision count mayindicate a quantity of consecutive times that the historical virtualobject does not collide with the resource object in the target timeperiod. In a case that the counted first consecutive non-collision countdoes not reach the collision trigger threshold, the selectionprobabilities respectively corresponding to the target moving track andthe auxiliary moving track may be the same. In a case that the countedfirst consecutive non-collision count reaches the collision triggerthreshold (that is, the first consecutive non-collision count is equalto the collision trigger threshold), the application client may adjustthe selection probabilities respectively corresponding to the targetmoving track and the auxiliary moving track, so that the applicationclient can select the target moving track (namely, the selected movingtrack) in the virtual area.

Therefore, through adjustment of the selection probabilitiesrespectively corresponding to the target moving track and the auxiliarymoving track, N jump actions performed by the application client on thehistorical virtual object definitely include an interactive actionperformed by the historical virtual object with respect to the resourceobject. Herein, N may be a positive integer, and the collision triggerthreshold may be a positive integer less than N. For example, thecollision trigger threshold may be equal to (N−1). For example, in acase that N is equal to 5, (N−1) may be equal to 4. The target movingtrack and the auxiliary moving track have a same selection probabilityat the 1st time to the 4th time. In a case that, no interactive actionis performed on the resource object within the 1st time to the 4th time,the application client may update the selection probabilities of thetarget moving track and the auxiliary moving track.

Optionally, the first consecutive non-collision count may alternativelyindicate a quantity of consecutive times that the historical virtualobject does not collide with a historical resource object in the targettime period. The historical resource object herein is associated withthe historical interaction message on the interaction interface. To bespecific, the historical resource object is generated through triggeringby the historical interaction message. Therefore, the application clientmay count the first consecutive non-collision count of the historicalvirtual object against the historical resource object in the target timeperiod. The historical virtual object may include the first virtualobject, and the historical resource object may include the resourceobject.

It is to be understood that the application client may recount the firstconsecutive non-collision count in a case that the display location ofthe first virtual object is above the display location of the resourceobject. In a case that transmission frequency of interaction messages onthe interaction interface is excessively high, the first interactionarea in which the first interaction message is located may be pushed up.Consequently, the display location of the first virtual object is abovethe display location of the resource object. The first virtual objectcannot push up a resource object whose display location is below thefirst interaction area. In this way, when the display location of theresource object is below the display location of the first virtualobject, limit logic that N jumps definitely include a collision fails.In this case, the first virtual object may randomly jump upward untilthe display location of the resource object is above a subsequentinteraction area. Then N is cleared, and a recount starts.

Optionally, in a case that transmission frequency of interactionmessages on the interaction interface causes the first interactionmessage to be no longer displayed on the interaction interface, thefirst interaction area in which the first interaction message is locatedis no longer displayed on the interaction interface, and the applicationclient does not need to display the first virtual object on theinteraction interface.

For ease of understanding, refer to FIG. 12 . FIG. 12 is a schematicdiagram showing a scenario of displaying a plurality of interactionmessages according to an embodiment of this application. An interactioninterface 120 a and an interaction interface 120 b shown in FIG. 12 maybe interaction interfaces of the application client at differentmoments.

As shown in FIG. 12 , when the first object transmits an interactionmessage 121 a through the application client, the application client maydisplay the interaction message 121 a on the interaction interface 120a. When the interaction message 121 a is displayed on the interactioninterface 120 a, if the application client receives a large quantity ofinteraction messages and a location of an interaction area 121 b inwhich the interaction message 121 a is located changes on theinteraction interface, the application client displays a virtual object122 a associated with the interaction message 121 a in a changedinteraction area 121 b (namely, an interaction area 121 c). A locationof a resource object 122 b on the interaction interface is shown in theinteraction interface 120 b. The large quantity of interaction messagesreceived by the application client may be an interaction message 123 a,an interaction message 123 b, an interaction message 123 c, and aninteraction message 123 d shown in the interaction interface 120 b.

As shown in the interaction interface 120 b in FIG. 12 , in a case thata display location of the virtual object 122 a is above a displaylocation of the resource object 122 b, the virtual object 122 a performsa jump action upward. In this way, the jump action definitely causes nointeractive action to the resource object 122 b. Therefore, theapplication client may recount the first consecutive non-collisioncount.

Optionally, in a case that the display location of the virtual object122 a is above the display location of the resource object 122 b, thevirtual object 122 a may alternatively perform a jump action downward.In this way, the jump action may cause an interactive action to theresource object 122 b. Therefore, the application client does not needto recount the first consecutive non-collision count.

S2035: Move and display the first virtual object based on the selectedmoving track from the location of the first interaction area.

It is to be understood that the first virtual object may include onejump action during movement and display, and a quantity, correspondingto the first jump action, of consecutive times of non-collision with thehistorical resource object may be the first consecutive non-collisioncount. Optionally, the first virtual object may alternatively perform atleast two jump actions during movement and display, the jump actions arerespectively performed based on different selected moving tracks, andthe selected moving tracks respectively corresponding to the jumpactions are determined based on different virtual areas.

It is to be understood that, in a case that the first virtual objectperforms at least two jump actions, a specific process of displaying thefirst virtual object by the application client may be described asfollows: The application client may count a second consecutivenon-collision count of consecutive non-collision jump actions of thefirst virtual object against the resource object. Further, in a casethat the second consecutive non-collision count is equal to a collisiontrigger threshold, the application client may generate an updatedvirtual area based on the display location of the first virtual objectin movement and the display location of the resource object in movement.The updated virtual area includes an updated target moving track and anupdated auxiliary moving track. The updated target moving track is usedfor indicating that there is a coincident display location between thedisplay location of the first virtual object in movement and the displaylocation of the resource object in movement. The updated auxiliarymoving track is different from the updated target moving track. Theupdated target moving track has a maximum selection probability, and aselection probability corresponding to the updated auxiliary movingtrack being less than the maximum selection probability. Further, theapplication client may determine the updated target moving track as anupdated selected moving track based on the maximum selection probabilitycorresponding to the updated target moving track and the selectionprobability corresponding to the updated auxiliary moving track.Further, the application client may perform, on the first virtualobject, a jump action indicated by the updated selected moving track.

It can be understood that the second consecutive non-collision count mayindicate a quantity of consecutive times that the first virtual objectdoes not collide with the resource object. In a case that the countedsecond consecutive non-collision count reaches the collision triggerthreshold (to be specific, the second consecutive non-collision count isequal to the collision trigger threshold), the application client maygenerate the updated virtual area for the first virtual object on theinteraction interface, and then adjust selection probabilitiesrespectively corresponding to the updated target moving track and theupdated auxiliary moving track, so that the application client canselect the updated target moving track (namely, the updated selectedmoving track) in the updated virtual area.

Optionally, the second consecutive non-collision count may alternativelyindicate a quantity of consecutive times that the historical virtualobject does not collide with the resource object. In this way, in a casethat the second consecutive non-collision count is the last jump actionperformed by the first virtual object, the application client may adjusta target moving track corresponding to a next virtual object (forexample, a virtual object D) of the first virtual object, so that a jumpaction performed by the virtual object D causes an interactive action tothe resource object. Optionally, the second consecutive non-collisioncount may alternatively indicate a quantity of consecutive times thatthe historical virtual object does not collide with a historicalresource object.

For a specific process of generating the updated virtual area by theapplication client, refer to the foregoing descriptions of generatingthe virtual area. For a specific process of generating the updatedtarget moving track and the updated auxiliary moving track by theapplication client, refer to the foregoing descriptions of generatingthe target moving track and the auxiliary moving track.

It can be learned that, in this embodiment of this application, theobject location distance between the display location of the firstvirtual object and the display location of the resource object may beobtained, the virtual area indicated by the object location distance isgenerated on the interaction interface, and then the first virtualobject is moved and displayed on the interaction interface based on theselected moving track selected from the virtual area. It can beunderstood that, in this embodiment of this application, the selectedmoving track may be randomly selected for the first virtual object onthe interaction interface, and then the first virtual object is movedand displayed based on the selected moving track, thereby improvingflexibility of moving and displaying the first virtual object on theinteraction interface.

Further, FIG. 13 is a schematic flowchart of a data processing methodaccording to an embodiment of this application. The method may beperformed by a server, an application client, or both a server and anapplication client. The server may be the server 20 a in the embodimentcorresponding to FIG. 2A. The application client may be the first clienton the terminal device 20 b in the embodiment corresponding to FIG. 2A.For ease of understanding, an example in which the method is performedby the application client is used for description in this embodiment ofthis application. The data processing method may include the followingS301 to S305.

S301: In a case that a first interaction message is displayed on aninteraction interface, display a first virtual object in a firstinteraction area in which the first interaction message is located.

The first interaction message is transmitted by a first object. Thefirst virtual object is associated with the first interaction message.

For a specific process of displaying, by the application client, thefirst virtual object in the first interaction area, refer to thedescriptions of S101 in the embodiment corresponding to FIG. 3 . Detailsare not described herein again.

S302: Move and display, on the interaction interface, the first virtualobject from a location of the first interaction area.

For a specific process of moving and displaying, by the applicationclient, the first virtual object on the interaction interface, refer tothe descriptions of S203 in the embodiment corresponding to FIG. 5 andthe descriptions of S2031 to S2035 in the embodiment corresponding toFIG. 10 . Details are not described herein again.

S303: In a case that a second interaction message is displayed on theinteraction interface, display a second virtual object in a secondinteraction area in which the second interaction message is located.

Specifically, in a case that the second interaction message is displayedon the interaction interface, the application client may determinetrigger types respectively indicated by the first interaction messageand the second interaction message. The second interaction message istransmitted by a second object. The second virtual object is associatedwith the second interaction message. The second object is an objectinteracting with the first object on the interaction interface. Thefirst interaction message transmitted by the first object and the secondinteraction message transmitted by the second object may be interactionmessages transmitted by the first object and the second object atdifferent moments. Further, in a case that a trigger type indicated bythe first interaction message and a trigger type indicated by the secondinteraction message are both an interactive type, the application clientmay display the second virtual object (that is, superpose interactiveeffects) in the second interaction area in which the second interactionmessage is located.

Optionally, the second interaction message may also be transmitted bythe first object. To be specific, the first interaction message and thesecond interaction message may be interaction messages transmitted bythe first object at different moments. In this case, in a case that atrigger type indicated by the first interaction message and a triggertype indicated by the second interaction message are both an interactivetype, the application client may display, in the second interaction areain which the second interaction message is located, the second virtualobject associated with the second interaction message. For ease ofunderstanding, an example in which the first interaction message istransmitted by the first object and the second interaction message istransmitted by the second object is used for description in thisembodiment of this application.

The trigger type may include the interactive type and a common type.Optionally, in a case that a trigger type indicated by the firstinteraction message or a trigger type indicated by the secondinteraction message is not the interactive type, the application clientdoes not need to display the second virtual object (that is, does notsuperpose interactive effects) in the second interaction area in whichthe second interaction message is located. In this case, the firstinteraction message or the second interaction message belongs to thecommon type.

For a specific process of displaying, by the application client, thesecond virtual object in the second interaction area, refer to thedescriptions of displaying the first virtual object in the firstinteraction area in S101 in the embodiment corresponding to FIG. 3 .Details are not described herein again.

S304: Move and display, on the interaction interface, the second virtualobject from a location of the second interaction area.

Both the first virtual object and the second virtual object aredisplayed on the interaction interface, and the first virtual object andthe second virtual object have an interaction function, i.e., the firstvirtual object and the second virtual object can interact with eachother. It is to be understood that, for a specific process of moving anddisplaying, by the application client, the second virtual object on theinteraction interface, reference may be made to the foregoingdescriptions of moving and displaying the first virtual object. Detailsare not described herein again.

It is to be understood that, in response to a trigger operationperformed on the first virtual object in movement, the applicationclient may obtain an updated moving track (namely, a first updatedmoving track) and an updated moving speed (namely, a first updatedmoving speed) indicated by the trigger operation. Further, theapplication client may update an initial moving track and an initialmoving speed of the first virtual object on the interaction interfacebased on the updated moving track and the updated moving speed.

Similarly, in response to a trigger operation performed on the secondvirtual object in movement, the application client may obtain an updatedmoving track (namely, a second updated moving track) and an updatedmoving speed (namely, a second updated moving speed) indicated by thetrigger operation. Further, the application client may update an initialmoving track and an initial moving speed of the second virtual object onthe interaction interface based on the updated moving track and theupdated moving speed.

For ease of understanding, refer to FIG. 14 . FIG. 14 is a schematicdiagram showing a scenario of displaying a second virtual objectaccording to an embodiment of this application. An interaction interface140 a and an interaction interface 140 b shown in FIG. 14 may beinteraction interfaces of the application client at different moments.The interaction interface 140 a and an interaction interface 140 c shownin FIG. 14 may be interaction interfaces of the application client atdifferent moments. In a case that both the first interaction message(namely, an interaction message 142 a) and the second interactionmessage (namely, an interaction message 142 c) are transmitted by thefirst object, the interaction interface may switch from the interactioninterface 140 a to the interaction interface 140 c. In a case that thefirst interaction message (namely, the interaction message 142 a) istransmitted by the first object and the second interaction message(namely, an interaction message 142 b) is transmitted by the secondobject, the interaction interface may switch from the interactioninterface 140 a to the interaction interface 140 b.

As shown in FIG. 14 , the interaction message 142 a and a virtual object141 a associated with the interaction message 142 a may be displayed onthe interaction interface 140 a. It can be understood that, in a casethat the first object transmits the interaction message 142 c, theapplication client may display the interaction message 142 c and avirtual object 141 c associated with the interaction message 142 c onthe interaction interface 140 c. Display locations of the virtual object141 a on the interaction interface 140 a and the interaction interface140 c change.

It can be understood that, in a case that the second object transmitsthe interaction message 142 b, the application client may display theinteraction message 142 b and a virtual object 141 b associated with theinteraction message 142 b on the interaction interface 140 b. Displaylocations of the virtual object 141 a on the interaction interface 140 aand the interaction interface 140 b change.

S305: In a case that a display location of the first virtual object inmovement coincides with a display location of the second virtual objectin movement during joint movement of the first virtual object and thesecond virtual object, display, on the interaction interface, acoincident interactive animation associated with the first virtualobject and the second virtual object.

It is to be understood that the application client may add a firstvirtual detection area for the first virtual object, and add a secondvirtual detection area for the second virtual object. Further, duringmovement of the first virtual object and the second virtual object, theapplication client may generate an area-coincidence degree (namelyvirtual coincidence degree) between the first virtual detection area andthe second virtual detection area based on an area intersection and anarea union between the first virtual detection area and the secondvirtual detection area. Further, in a case that the virtualarea-coincidence degree is greater than a coincidence degree threshold,the application client may determine that the display location of thefirst virtual object in movement coincides with the display location ofthe second virtual object in movement. Optionally, in a case that thefirst virtual detection area and the second virtual detection area havean intersection, the application client may alternatively determine thatthe display location of the first virtual object in movement coincideswith the display location of the second virtual object in movement.

For a specific process of determining, by the application client,whether the display location of the first virtual object in movementcoincides with the display location of the second virtual object inmovement, refer to the foregoing descriptions of determining whether thedisplay location of the first virtual object in movement coincides withthe display location of the resource object in movement in theembodiment corresponding to FIG. 5 . Details are not described hereinagain.

Optionally, in a case that the display location of the first virtualobject in movement coincides with the display location of the secondvirtual object in movement, the application client may display thesecond virtual object under the first virtual object, or display thefirst virtual object under the second virtual object.

For ease of understanding, refer to FIG. 15 . FIG. 15 is a schematicdiagram showing a scenario of displaying a coincident interactiveanimation according to an embodiment of this application. An interactioninterface 150 a and an interaction interface 150 b shown in FIG. 15 maybe interaction interfaces of the application client at differentmoments. The interaction interface 150 a and an interaction interface150 c shown in FIG. 15 may be interaction interfaces of the applicationclient at different moments. The interaction interface 150 b and theinteraction interface 150 c may be different coincident interactiveanimations displayed by the application client.

As shown in FIG. 15 , the interaction interface 150 a may include avirtual object 151 a and a virtual object 151 b, and the virtual object151 a and the virtual object 151 b jointly move on the interactioninterface 150 a. In a case that a display location of the virtual object151 a in movement coincides with a display location of the virtualobject 151 b in movement, the application client may switch from theinteraction interface 150 a to the interaction interface 150 b or theinteraction interface 150 c. Both the virtual object 151 a and thevirtual object 151 b may be lions.

It can be understood that the application client may display acoincident interactive animation 152 a on the interaction interface 150b, and the coincident interactive animation 152 a may display dizzinesseffects on the lions represented by the virtual object 151 a and thevirtual object 151 b, and provide shiny visual effects on theinteraction interface.

It can be understood that the application client may display acoincident interactive animation 152 b on interaction interface 150 c,and the coincident interactive animation 152 b may display heart effectson the lions represented by the virtual object 151 a and the virtualobject 151 b. The heart effects may be generated between the lions, andis continuously enlarged on interaction interface 150 c over time.

It can be learned that, the first virtual object is moved and displayedfrom the first interaction area associated with the first object, andthe second virtual object is displayed from the second interaction areaassociated with the second object, so that a personalized virtual objectdisplay mode can be implemented. In addition, for the first virtualobject associated with the first object and the second virtual objectassociated with the second object, the first virtual object and thesecond virtual object may be displayed on the interaction interface in asuperposed manner, and the first virtual object and the second virtualobject can interact with each other on the interaction interface, toenrich display effects of virtual objects associated with interactionmessages.

Further, FIG. 16 is a schematic flowchart of a data processing methodaccording to an embodiment of this application. The method may beperformed by a server, an application client, or both a server and anapplication client. The server may be the server 20 a in the embodimentcorresponding to FIG. 2A. The application client may be the first clienton the terminal device 20 b in the embodiment corresponding to FIG. 2A.For ease of understanding, an example in which the method is performedby the application client is used for description in this embodiment ofthis application. The data processing method may include the followingS401 to S409.

S401: In a case that a first interaction message is displayed on aninteraction interface, display a first virtual object in a firstinteraction area in which the first interaction message is located.

The first interaction message is transmitted by a first object. Thefirst virtual object is associated with the first interaction message.

For a specific process of displaying, by the application client, thefirst virtual object in the first interaction area, refer to thedescriptions of S101 in the embodiment corresponding to FIG. 3 . Detailsare not described herein again.

S402: In a case that the first virtual object is displayed in the firstinteraction area, display a resource object at a target location on theinteraction interface.

The resource object is associated with the first interaction message.The resource object and the first virtual object have an interactionfunction, i.e., the resource object ant the first virtual object caninteract with each other.

For a specific process of displaying, by the application client, theresource object on the interaction interface, refer to the descriptionsof S202 in the embodiment corresponding to FIG. 5 . Details are notdescribed herein again.

S403: Move and display, on the interaction interface, the first virtualobject from a location of the first interaction area.

For a specific process of moving and displaying, by the applicationclient, the first virtual object on the interaction interface, refer tothe descriptions of S203 in the embodiment corresponding to FIG. 5 andthe descriptions of S2031 to S2035 in the embodiment corresponding toFIG. 10 . Details are not described herein again.

S404: Move and display, on the interaction interface, the resourceobject from the target location.

For a specific process of moving and displaying, by the applicationclient, the resource object on the interaction interface, refer to thedescriptions of S204 in the embodiment corresponding to FIG. 5 . Detailsare not described herein again.

S405: In a case that a second interaction message is displayed on theinteraction interface, display a second virtual object in a secondinteraction area in which the second interaction message is located.

The second interaction message is transmitted by a second object. Thesecond virtual object is associated with the second interaction message.The second object is an object interacting with the first object on theinteraction interface. The resource object and the second virtual objecthave an interaction function, i.e., the resource object and the secondvirtual object can interact with each other. For a specific process ofinteraction between the second virtual object and the resource object,refer to the following descriptions of S407 to S409.

For a specific process of displaying, by the application client, thesecond virtual object in the second interaction area, refer to thedescriptions of S303 in the embodiment corresponding to FIG. 13 .Details are not described herein again.

It can be understood that the application client does not need todisplay the resource object at the target location on the interactioninterface in a case that the second virtual object is displayed in thesecond interaction area. Optionally, in a case that the first virtualobject is displayed in the first interaction area, the resource objectdisplayed at the target location on the interaction interface may be afirst resource object; and in a case that the second virtual object isdisplayed in the second interaction area, the application client maydisplay a second resource object at the target location of theinteraction interface. In this way, display locations of a plurality ofvirtual objects on the interaction interface may coincide displaylocations of a plurality of resource objects. That is, interactiveactions may be performed between the plurality of virtual objects andthe plurality of resource objects. For ease of understanding, an examplein which a maximum of one resource object is displayed on theinteraction interface at one moment is used for description in thisembodiment of this application.

S406: Move and display, on the interaction interface, the second virtualobject from a location of the second interaction area.

The first virtual object, the second virtual object, and the resourceobject are all displayed on the interaction interface.

Similarly, in a case that a third interaction message is displayed onthe interaction interface, the application client may display the thirdvirtual object in a third interaction area in which the thirdinteraction message is located, and then move and display, on theinteraction interface, the third virtual object from a location of thethird interaction area. The third interaction message herein may betransmitted by the first object, the second object, or another objectperform interaction. For a specific process of moving and displaying, bythe application client, the third virtual object on the interactioninterface, refer to the foregoing descriptions of displaying, and movingand displaying the first virtual object on the interaction interface.Details are not described herein again.

It is to be understood that, during movement of the resource object, theapplication client may display a resource acquisition area on theinteraction interface in response to a trigger operation performed onthe resource object in movement. Further, the application client maydisplay resource description information and a resource acquisitioncontrol in the resource acquisition area. Further, the applicationclient may acquire a virtual resource indicated by the resourcedescription information in response to a trigger operation performed onthe resource acquisition control. Optionally, the application client mayalternatively display the resource acquisition area on the interactioninterface in a case that the display location of the resource objectcoincides with the display location of the first virtual object (or thesecond virtual object).

The resource acquisition area may further include a close control. Theresource acquisition area herein may be a sub-interface independent ofthe interaction interface. The application client may close the resourceacquisition area on the interaction interface and cancel display of theresource object on the interaction interface in response to a triggeroperation performed on the close control.

For ease of understanding, refer to FIG. 17 . FIG. 17 is a schematicdiagram showing a scenario of acquiring a virtual resource according toan embodiment of this application. An interaction interface 170 a and aninteraction interface 170 b shown in FIG. 17 may be interactioninterfaces of the application client at different moments. A firstvirtual object, a second virtual object, and a resource object may besimultaneously displayed on the interaction interface 170 a. The firstvirtual object herein may be a virtual object 171 b, the second virtualobject herein may be a virtual object 171 c, and the resource objectherein may be a resource object 171 a.

As shown in FIG. 17 , in a case that a first object 170 c needs toacquire a virtual resource indicated by the resource object 171 a (thatis, the first object may tap “Lucky bag” to acquire welfare awards), thefirst object 170 c may perform a trigger operation on the resourceobject 171 a. In this way, the application client may display a resourceacquisition area 172 a on the interaction interface 170 a in response tothe trigger operation performed by the first object 170 c on theresource object 171 a, to obtain the interaction interface 170 b (thatis, go to a welfare acquisition page). The resource acquisition area 172a may include resource description information 172 b and a resourceacquisition control 172 c associated with a virtual resource.

It can be understood that the first object 170 c may perform a triggeroperation on the resource acquisition control 172 c in a case that thefirst object 170 c needs to obtain a virtual resource indicated by theresource description information 172 b. In this way, the applicationclient may acquire the virtual resource indicated by the resourcedescription information 172 b in response to the trigger operationperformed by the first object 170 c on the resource acquisition control172 c. The resource description information 172 b may be“Congratulations. You have won 50 game coins.” The virtual resource maybe “50 game coins.”

S407: In a case that a display location of the second virtual object inmovement coincides with a display location of the resource object inmovement during joint movement of the first virtual object, the secondvirtual object, and the resource object, trigger the second virtualobject to perform an interactive action with respect to the resourceobject.

A location of the resource object is shifted on the interactioninterface based on the interactive action.

It is to be understood that the application client may add a virtualdetection area (namely, a second virtual detection area) for the secondvirtual object, and add a resource detection area for the resourceobject. Further, during movement of the second virtual object and theresource object, the application client may generate an area-coincidencedegree (namely, a second area-coincidence degree) between the virtualdetection area and the resource detection area based on an areaintersection and an area union between the virtual detection area andthe resource detection area. Further, in a case that thearea-coincidence degree is greater than a coincidence degree threshold,the application client may determine that the display location of thesecond virtual object in movement coincides with the display location ofthe resource object in movement. Optionally, in a case that the secondvirtual detection area and the resource detection area have anintersection, the application client may alternatively determine thatthe display location of the second virtual object in movement coincideswith the display location of the resource object in movement.

For a specific process of determining, by the application client,whether the display location of the second virtual object in movementcoincides with the display location of the resource object in movement,refer to the foregoing descriptions of determining whether the displaylocation of the first virtual object in movement coincides with thedisplay location of the resource object in movement in the embodimentcorresponding to FIG. 5 . Details are not described herein again.

S408: Display, at a display location of the resource object whoselocation has been shifted, a second resource sub-object matching thesecond interaction message.

The second resource sub-object has a function of moving on theinteraction interface.

Similarly, in a case that a display location of the first virtual objectin movement coincides with a display location of the resource object inmovement during joint movement of the first virtual object, the secondvirtual object, and the resource object, the application client maytrigger the first virtual object to perform an interactive action withrespect to the resource object. A location of the resource object isshifted on the interaction interface based on the interactive action.Further, the application client may display, at a display location ofthe resource object whose location has been shifted, a first resourcesub-object matching the first interaction message. The first resourcesub-object has a function of moving on the interaction interface.

It can be understood that the first resource sub-object matching thefirst interaction message and the second resource sub-object matchingthe second interaction message are the same in a case that the firstinteraction message and the second interaction message include same keymessage data. For example, key message data included in the firstinteraction message and key message data included in the secondinteraction message are both “AA drink,” and the first resourcesub-object and the second resource sub-object are both “AA drinkbottle.” For another example, in a case that key message data includedin the first interaction message is “AA drink” and key message dataincluded in the second interaction message is “BB drink,” the firstresource sub-object may be “AA drink bottle,” and the second resourcesub-object may be “BB drink bottle.”

Optionally, during movement of the second resource sub-object, theapplication client may display a sub-resource acquisition area on theinteraction interface in response to a trigger operation performed onthe second resource sub-object in movement. Further, the applicationclient may display sub-resource description information and asub-resource acquisition control in the sub-resource acquisition area.Further, the application client may acquire a virtual sub-resourceindicated by the sub-resource description information in response to atrigger operation performed on the sub-resource acquisition control. Itis to be understood that, for a specific process of responding, by theapplication client, to a trigger operation performed on the firstresource sub-object in movement, reference may be made to thedescriptions of responding to the trigger operation performed on thesecond resource sub-object in movement. Details are not described hereinagain.

S409: Continue to move and display, on the interaction interface, theresource object whose location has been shifted.

It can be understood that the application client may further move anddisplay the second resource sub-object (or the first resourcesub-object), continue to move and display the first virtual object, andcontinue to move and display the second virtual object on theinteraction interface. A resource trajectory of the second virtualobject (or the first virtual object) does not change due to interaction(for example, collision) with the resource object.

For a specific process of displaying, by the application client, thesecond resource sub-object, the first virtual object, the second virtualobject, and the resource object on the interaction interface, refer toFIG. 18 . FIG. 18 is a schematic diagram showing a scenario ofperforming an interactive action according to an embodiment of thisapplication. An interaction interface 180 a, an interaction interface180 b, an interaction interface 180 c, and an interaction interface 180d shown in FIG. 18 may be interaction interfaces of the applicationclient at different moments. The interaction interface 180 a may be theinteraction interface 21 d in the embodiment corresponding to FIG. 2A.The interaction interface 180 a may include the first virtual object(namely, a virtual object 181 b), the second virtual object (namely, avirtual object 181 a), and the resource object (namely, a resourceobject 181 c).

As shown in FIG. 18 , the application client may trigger the virtualobject 181 a to perform an interactive action with respect to theresource object 181 c, to shift a location of the resource object 181 con the interaction interface 180 a. In addition, the application clientmay display a resource sub-object 181 d at a display location of theresource object 181 c. A plurality of (for example, five) “AA drinkbottles” shown in FIG. 18 may be collectively referred to as theresource sub-object 181 d.

As shown in FIG. 18 , during switching from the interaction interface180 a to the interaction interface 180 b, the resource sub-object 181 dis moved and displayed on the interaction interface 180 b, and thevirtual object 181 b, the virtual object 181 a, and the resource object181 c also continue to move and be displayed on the interactioninterface 180 b.

It is to be understood that the resource sub-object 181 d graduallyfades during movement and display. To be specific, the resourcesub-object 181 d gradually fades during movement to a fixed location,until disappearance. The fixed location herein may be a middle locationon the interaction interface. As shown in FIG. 18 , during switchingfrom the interaction interface 180 b to the interaction interface 180 c,the resource sub-object 181 d continues to move and be displayed on theinteraction interface 180 c, and the resource sub-object 181 d that ismoving and displayed on the interaction interface 180 c fades in coloruntil disappearance. The virtual object 181 b and the virtual object 181a disappear after moving to respective ending points. The resourceobject 181 c continues to move and be displayed on the interactioninterface 180 c.

It is to be understood that the resource object 181 c gradually fadeswhen moving to an update location until disappearance. The updatelocation herein may be a bottom location on the interaction interface.As shown in FIG. 18 , during switching from the interaction interface180 c to the interaction interface 180 d, the resource object 181 c thatis moving and displayed on the interaction interface 180 d fades incolor until disappearance. In addition, the resource object 181 c mayfurther display broken animation effects on the interaction interface180 d.

It can be understood that the resource sub-object 181 d shown in FIG. 18is the second resource sub-object associated with the second interactionmessage corresponding to the second virtual object. In a case that theapplication client triggers the virtual object 181 b to perform aninteractive action with respect to resource object 181 c before or afterthe application client triggers the virtual object 181 a to perform aninteractive action on the resource object 181 c, the application clientmay alternatively display both the resource sub-object 181 d and thefirst resource sub-object associated with the first interaction messagecorresponding to virtual object 181 b.

Optionally, in a case that the display location of the resource objectdoes not coincide with the display location of the first virtual object,or the display location of the resource object does not coincide withthe display location of the second virtual object, the resource objectmoves to an ending point of a resource trajectory based on the resourcetrajectory, until the resource object gradually fades and disappears atthe ending point. Then a next interaction message re-triggers generationof a resource object of information. For example, the resource objectkeeps falling, and gradually fades and disappears after falling to thebottom of a screen.

It is to be understood that, during movement of the first virtual objectand the second virtual object on the interaction interface, jump actionsare performed based on the moving track, and different jump actionscorrespond to different jump heights. For a specific process ofdetermining, by the application client, a jump height corresponding tothe first virtual object or the second virtual object, refer to FIG. 19. FIG. 19 is a schematic diagram showing a scenario of determining ajump height according to an embodiment of this application. Aninteraction interface 190 a shown in FIG. 19 may include a plurality ofinteraction messages and a resource object 190 c. The plurality ofinteraction messages may specifically include an interaction message 191a, an interaction message 191 b, and an interaction message 191 c.Herein, an example in which the interaction message 191 a, theinteraction message 191 b, and the interaction message 191 c all includekey message data with a virtual object trigger function is used fordescription. The key message data herein may be a “five-pointed star.”

As shown in FIG. 19 , the application client may determine a heightdifference between an interaction area in which the interaction message191 a is located and a display location of the resource object 190 c,and generate a virtual area 192 a associated with the interactionmessage 191 a based on the height difference; the application client maydetermine a height difference between an interaction area in which theinteraction message 191 b is located and the display location of theresource object 190 c, and generate a virtual area 192 b associated withthe interaction message 191 b based on the height difference; and theapplication client may determine a height difference between aninteraction area in which the interaction message 191 c is located andthe display location of the resource object 190 c, and generate avirtual area 192 c associated with the interaction message 191 c basedon the height difference.

It can be understood that the virtual area 192 a may include a movingtrack indicated by an ending location 193 a, and the moving trackindicated by the ending location 193 a enables a virtual objectassociated with the interaction message 191 a to be associated with theresource object 190 c as much as possible; the virtual area 192 b mayinclude a moving track indicated by an ending location 193 b, and themoving track indicated by the ending location 193 b enables a virtualobject associated with the interaction message 191 b to be associatedwith the resource object 190 c as much as possible; and the virtual area192 c may include a moving track indicated by an ending location 193 c,and the moving track indicated by the ending location 193 c enables avirtual object associated with the interaction message 191 c to beassociated with the resource object 190 c as much as possible.

It is to be understood that the virtual object needs to be associatedwith the resource object 190 c as much as possible. In this case, anending point of a moving track of the virtual object associated with theinteraction message 191 a needs to be close to the ending location 193 aas much as possible, an ending point of a moving track of the virtualobject associated with the interaction message 191 b needs to be closeto the ending location 193 b as much as possible, and an ending point ofa moving track of the virtual object associated with the interactionmessage 191 c needs to be close to the ending location 193 c as much aspossible.

Therefore, an ending location 194 a shown in FIG. 19 may be an endingpoint of a moving track selected by the application client in thevirtual area 192 a for the virtual object associated with theinteraction message 191 a, an ending location 194 b shown in FIG. 19 maybe an ending point of a moving track selected by the application clientin the virtual area 192 b for the virtual object associated with theinteraction message 191 b, and an ending location 194 c shown in FIG. 19may be an ending point of a moving track selected by the applicationclient in the virtual area 192 c for the virtual object associated withthe interaction message 191 c.

It can be learned that, in this embodiment of this application, thefirst virtual object, the second virtual object, and the resource objectmay jointly move on the interaction interface. During joint movement ofthe first virtual object, the second virtual object, and the resourceobject, the first virtual object or the second virtual object mayperform an interactive action with respect to the resource object, sothat the location of the resource object on the interaction interface isshifted, and the first resource sub-object matching the firstinteraction message or the second resource sub-object matching thesecond interaction message is displayed at the display location of theresource object whose location has been shifted. Based on this, thefirst virtual object is moved and displayed from the first interactionarea associated with the first object, and the second virtual object isdisplayed from the second interaction area associated with the secondobject, so that a personalized virtual object display mode can beimplemented, and display effects of virtual objects associated withinteraction messages are enriched (to be specific, different objectstrigger different emoticon rain effects). In addition, for the firstvirtual object and the resource object that are associated with thefirst object and the second virtual object associated with the secondobject, the first virtual object, the resource object, and the secondvirtual object may be displayed on the interaction interface in asuperposed manner, the first virtual object can interact with the secondvirtual object on the interaction interface, the first virtual objectcan interact with the resource object on the interaction interface, andthe second virtual object can interact with the resource object on theinteraction interface, so that flexibility of interaction on theinteraction interface can be improved (to be specific, effects triggeredby different objects can be linked).

Further, FIG. 20 is a schematic structural diagram of a data processingapparatus according to an embodiment of this application. The dataprocessing apparatus 1 may include: a first display module 11 and afirst movement module 12. Further, the data processing apparatus 1 mayfurther include: a first coincidence module 13, a first shift module 14,a second display module 15, a second movement module 16, an animationdisplay module 17, a second coincidence module 18, and a second shiftmodule 19.

The first display module 11 is configured to: in a case that a firstinteraction message is displayed on an interaction interface, display afirst virtual object in a first interaction area in which the firstinteraction message is located, and display a resource object at atarget location on the interaction interface. The first interactionmessage is transmitted by a first object. Both the first virtual objectand the resource object are associated with the first interactionmessage. The resource object and the first virtual object have aninteraction function.

The first display module 11 is specifically configured to: in a casethat the first interaction message is displayed on the interactioninterface and the first interaction message includes key message datawith a virtual object trigger function, obtain the first virtual objectindicated by the key message data and a validity time range from aresource library. The resource library is periodically obtained by anapplication client to which the interaction interface belongs.

The first display module 11 is specifically configured to: in a casethat current time is within the validity time range, display the firstvirtual object in the first interaction area in which the firstinteraction message is located.

The first movement module 12 is configured to display, on theinteraction interface, interactive movement involving the first virtualobject and the resource object. The interactive movement includes movingthe first virtual object from a location of the first interaction area,and/or moving the resource object from the target location.

The interaction interface includes a virtual keyboard area and a messagedisplay area. The message display area is an area other than the virtualkeyboard area on the interaction interface.

The first movement module 12 is specifically configured to move anddisplay the first virtual object from the location of the firstinteraction area, and move the resource object from the target location.

The first movement module 12 is specifically configured to: in a casethat the resource object in movement is located in the message displayarea, display the resource object in the message display area.

The first movement module 12 is specifically configured to: in a casethat the resource object in movement is located in the virtual keyboardarea, display the resource object under a virtual keyboard in thevirtual keyboard area.

The first movement module 12 includes: a distance obtaining unit 121, anarea generation unit 122, and a movement and display unit 123.

The distance obtaining unit 121 is configured to obtain an objectlocation distance between a display location of a first virtual objectand a display location of a resource object.

The area generation unit 122 is configured to generate, on aninteraction interface, a virtual area indicated by the object locationdistance.

The movement and display unit 123 is configured to move and display thefirst virtual object based on the virtual area from the location of thefirst interaction area.

The movement and display unit 123 is specifically configured todetermine, in the virtual area, a target moving track and an auxiliarymoving track corresponding to the first virtual object. The targetmoving track is used for indicating that there is a coincident displaylocation between a display location of the first virtual object inmovement and a display location of the resource object in movement. Theauxiliary moving track is different from the target moving track.Starting points of both the target moving track and the auxiliary movingtrack are the location of the first interaction area on the interactioninterface.

The movement and display unit 123 is specifically configured to select aselected moving track based on selection probabilities respectivelycorresponding to the target moving track and the auxiliary moving track.The selected moving track is the target moving track or the auxiliarymoving track.

The movement and display unit 123 is specifically configured to move anddisplay the first virtual object based on the selected moving track fromthe location of the first interaction area.

Optionally, the movement and display unit 123 is further configured tocount a first consecutive non-collision count of a historical virtualobject against the resource object in a target time period. Thehistorical virtual object is associated with a historical interactionmessage on the interaction interface.

The movement and display unit 123 is further specifically configured to:in a case that the first consecutive non-collision count is equal to acollision trigger threshold, adjust a selection probabilitycorresponding to the target moving track to a maximum selectionprobability.

The movement and display unit 123 is further specifically configured todetermine the target moving track as the selected moving track based onthe maximum selection probability corresponding to the target movingtrack and a selection probability corresponding to the auxiliary movingtrack.

Optionally, the movement and display unit 123 is further specificallyconfigured to recount the first consecutive non-collision count in acase that the display location of the first virtual object is above thedisplay location of the resource object.

Optionally, the first virtual object performs at least two jump actionsduring movement and display, the jump actions are respectively performedbased on different selected moving tracks, and the selected movingtracks respectively corresponding to the jump actions are determinedbased on different virtual areas.

The movement and display unit 123 is further specifically configured tocount a second consecutive non-collision count of consecutivenon-collision jump actions of the first virtual object against theresource object.

The movement and display unit 123 is further specifically configured to:in a case that the second consecutive non-collision count is equal to acollision trigger threshold, generate an updated virtual area based onthe display location of the first virtual object in movement and thedisplay location of the resource object in movement. The updated virtualarea includes an updated target moving track and an updated auxiliarymoving track. The updated target moving track is used for indicatingthat there is a coincident display location between the display locationof the first virtual object in movement and the display location of theresource object in movement. The updated auxiliary moving track isdifferent from the updated target moving track. The updated targetmoving track has a maximum selection probability, and a selectionprobability corresponding to the updated auxiliary moving track beingless than the maximum selection probability.

The movement and display unit 123 is further specifically configured todetermine the updated target moving track as an updated selected movingtrack based on the maximum selection probability corresponding to theupdated target moving track and the selection probability correspondingto the updated auxiliary moving track.

The movement and display unit 123 is further specifically configured toperform, on the first virtual object, a jump action indicated by theupdated selected moving track.

For specific implementations of the distance obtaining unit 121, thearea generation unit 122, and the movement and display unit 123, referto the descriptions of S203 in the embodiment corresponding to FIG. 5and the descriptions of S2031 to S2035 in the embodiment correspondingto FIG. 10 . Details are not described herein again.

Optionally, the first coincidence module 13 is configured to: in a casethat the interactive movement includes joint movement of the firstvirtual object and the resource object, trigger the first virtual objectto perform an interactive action with respect to the resource object ina case that a display location of the first virtual object in movementcoincides with a display location of the resource object in movementduring the joint movement. A location of the resource object is shiftedon the interaction interface based on the interactive action.

The first shift module 14 is configured to display, at a displaylocation of the resource object whose location has been shifted, a firstresource sub-object matching the first interaction message. The firstresource sub-object has a function of moving on the interactioninterface.

The first shift module 14 is configured to continue to move and display,on the interaction interface, the resource object whose location hasbeen shifted.

Optionally, the second display module 15 is configured to: in a casethat a second interaction message is displayed on the interactioninterface, display a second virtual object in a second interaction areain which the second interaction message is located. The secondinteraction message is transmitted by a second object. The secondvirtual object is associated with the second interaction message. Thesecond object is an object interacting with the first object on theinteraction interface.

The second display module 15 is specifically configured to: in a casethat the second interaction message is displayed on the interactioninterface, determine trigger types respectively indicated by the firstinteraction message and the second interaction message.

The second display module 15 is specifically configured to: in a casethat a trigger type indicated by the first interaction message and atrigger type indicated by the second interaction message are both aninteractive type, display the second virtual object in the secondinteraction area in which the second interaction message is located.

The second movement module 16 is configured to move and display, on theinteraction interface, the second virtual object from a location of thesecond interaction area. The first virtual object, the second virtualobject, and the resource object are all displayed on the interactioninterface.

Optionally, the animation display module 17 is configured to: in a casethat the interactive movement includes joint movement of the firstvirtual object and the second virtual object, and in a case that adisplay location of the first virtual object in movement coincides witha display location of the second virtual object in movement during thejoint movement, display, on the interaction interface, a coincidentinteractive animation associated with the first virtual object and thesecond virtual object.

Optionally, the second coincidence module 18 is configured to: in a casethat the interactive movement includes joint movement of the firstvirtual object, the second virtual object, and the resource object, andin a case that a display location of the second virtual object inmovement coincides with a display location of the resource object inmovement during the joint movement, trigger the second virtual object toperform the interactive action with respect to the resource object. Alocation of the resource object is shifted on the interaction interfacebased on the interactive action.

The second shift module 19 is configured to display, at a displaylocation of the resource object whose location has been shifted, asecond resource sub-object matching the second interaction message, Thesecond resource sub-object has a function of moving on the interactioninterface.

The second shift module 19 is configured to continue to move anddisplay, on the interaction interface, the resource object whoselocation has been shifted.

Optionally, the data processing apparatus 1 is further specificallyconfigured to: in a case that the resource object whose location hasbeen shifted exceeds a display range of the interaction interface,display, at a location at which the resource object disappears, thefirst resource sub-object matching the first interaction message; and

-   -   the data processing apparatus 1 is further specifically        configured to: in a case that the resource object whose location        has been shifted is within a display range of the interaction        interface, perform the step of displaying, at a display location        of the resource object whose location has been shifted, a first        resource sub-object matching the first interaction message.

Optionally, the data processing apparatus 1 is further specificallyconfigured to display a resource acquisition area on the interactioninterface in response to a trigger operation performed on the resourceobject in movement;

-   -   the data processing apparatus 1 is further specifically        configured to display resource description information and a        resource acquisition control in the resource acquisition area;        and    -   the data processing apparatus 1 is further specifically        configured to acquire a virtual resource indicated by resource        description information in response to a trigger operation        performed on the resource acquisition control.

Optionally, the data processing apparatus 1 is further specificallyconfigured to: in response to a trigger operation performed on the firstvirtual object in movement, obtain updated moving track and an updatedmoving speed indicated by the trigger operation; and

-   -   the data processing apparatus 1 is further specifically        configured to update an initial moving track and an initial        moving speed of the first virtual object on the interaction        interface based on the updated moving track and the updated        moving speed.

Optionally, the data processing apparatus 1 is further specificallyconfigured to add a virtual detection area for the first virtual object,and add a resource detection area for the resource object;

-   -   the data processing apparatus 1 is further specifically        configured to: during movement of the first virtual object and        the resource object, generate an area-coincidence degree between        the virtual detection area and the resource detection area based        on area intersection and an area union between the virtual        detection area and the resource detection area; and    -   the data processing apparatus 1 is further specifically        configured to: in a case that the area-coincidence degree is        greater than a coincidence degree threshold, determine that the        display location of the first virtual object in movement        coincides with the display location of the resource object in        movement.

For specific implementations of the first display module 11 and thefirst movement module 12, refer to the descriptions of S101 and S102 inthe embodiment corresponding to FIG. 3 . Details are not describedherein again. For specific implementations of the first coincidencemodule 13 and the first shift module 14, refer to the descriptions ofS201 to S204 in the embodiment corresponding to FIG. 5 and thedescriptions of S2031 to S2035 in the embodiment corresponding to FIG.10 . Details are not described herein again. For specificimplementations of the second display module 15, the second movementmodule 16, and the animation display module 17, refer to thedescriptions of S301 to S305 in the embodiment corresponding to FIG. 13. Details are not described herein again. For specific implementationsof the second coincidence module 18 and the second shift module 19,refer to the descriptions of S401 and S409 in the embodimentcorresponding to FIG. 16 . Details are not described herein again. Inaddition, beneficial effects of the same method are not described hereinagain.

Further, FIG. 21 is a schematic structural diagram of a computer deviceaccording to an embodiment of this application. As shown in FIG. 21 ,the computer device 1000 may include: a processor 1001, a networkinterface 1004, and a memory 1005. In addition, the computer device 1000may further include: a user interface 1003 and at least onecommunications bus 1002. The communications bus 1002 is configured toimplement connection and communication between these components. In someembodiments, the user interface 1003 may include a display and akeyboard. Optionally, the user interface 1003 may further include astandard wired interface and a standard wireless interface. Optionally,the network interface 1004 may include a standard wired interface and astandard wireless interface (for example, a Wi-Fi interface). The memory1005 may be a high-speed RAM memory, or may be a non-volatile memory,for example, at least one magnetic disk memory. Optionally, the memory1005 may alternatively be at least one storage apparatus located awayfrom the processor 1001. As shown in FIG. 21 , the memory 1005 used as acomputer-readable storage medium may include an operating system, anetwork communication module, a user interface module, and adevice-control application program.

In the computer device 1000 shown in FIG. 21 , the network interface1004 may provide a network communication function, the user interface1003 is mainly configured to provide an input interface for a user, andthe processor 1001 may be configured to invoke the device-controlapplication program stored in the memory 1005 to implement the followingoperations:

-   -   in a case that a first interaction message is displayed on an        interaction interface, displaying a first virtual object in a        first interaction area in which the first interaction message is        located, and displaying a resource object at a target location        on the interaction interface, the first interaction message        being transmitted by a first object, both the first virtual        object and the resource object being associated with the first        interaction message, and the resource object and the first        virtual object having an interaction function; and    -   moving and displaying, on the interaction interface, the first        virtual object from a location of the first interaction area,        and moving and displaying the resource object from the target        location.

The computer device 1000 described in this embodiment of thisapplication may perform the descriptions of the data processing methodin the embodiments corresponding to FIG. 3 , FIG. 5 , FIG. 10 , FIG. 13, and FIG. 16 , or may perform the descriptions of the data processingapparatus 1 in the embodiment corresponding to FIG. 20 . Details are notdescribed herein again. In addition, beneficial effects of the samemethod are not described herein again.

In addition, an embodiment of this application further provides acomputer-readable storage medium. The computer-readable storage mediumstores a computer program to be executed by the data processingapparatus 1, and the computer program includes program instructions.When the program instructions are executed by a processor, thedescriptions of the data processing method in the embodimentscorresponding to FIG. 3 , FIG. 5 , FIG. 10 , FIG. 13 , and FIG. 16 canbe performed. Therefore, details are not described herein again. Inaddition, beneficial effects of the same method are not described hereinagain. For technical details that are not disclosed in thecomputer-readable storage medium embodiments of this application, referto the descriptions of the method embodiments of this application.

In addition, an embodiment of this application further provides acomputer program product or a computer program, where the computerprogram product or the computer program may include computerinstructions, and the computer instructions may be stored in acomputer-readable storage medium. A processor of a computer device readsthe computer instructions from the computer-readable storage medium, andthe processor may execute the computer instructions, so that thecomputer device performs the descriptions of the data processing methodin the embodiments corresponding to FIG. 3 , FIG. 5 , FIG. 10 , FIG. 13, and FIG. 16 . Therefore, details are not described herein again. Inaddition, beneficial effects of the same method are not described hereinagain. For technical details that are not disclosed in the computerprogram product or computer program embodiments of this application,refer to the descriptions of the method embodiments of this application.

A person of ordinary skill in the art may understand that all or some ofthe processes of the methods in the foregoing embodiments may beimplemented by a computer program instructing relevant hardware. Thecomputer program may be stored in a computer-readable storage medium.When the program is run, the processes in the foregoing methodembodiments may be included. The storage medium may be a magnetic disk,an optical disc, a read-only memory (ROM), a random access memory (RAM),or the like.

What is disclosed above is merely exemplary embodiments of thisapplication, and certainly is not intended to limit the scope of theclaims of this application. Therefore, equivalent variations made inaccordance with the claims of this application shall fall within thescope of this application.

What is claimed is:
 1. A data processing method, performed by a computerdevice, comprising: in response to an interaction message beingdisplayed on an interaction interface, displaying a virtual object in aninteraction area in which the interaction message is located, anddisplaying a resource object at a target location on the interactioninterface, the virtual object and the resource object being associatedwith the interaction message, and the resource object and the virtualobject being configured to interact with each other; and displaying, onthe interaction interface, interactive movement involving the virtualobject and the resource object, the interactive movement including atleast one of: moving the virtual object from a location of theinteraction area; or moving the resource object from the targetlocation.
 2. The method according to claim 1, further comprising: duringthe interactive movement, controlling the virtual object to perform aninteractive action with respect to the resource object in response to adisplay location of the virtual object coinciding with a displaylocation of the resource object, a location of the resource object beingshifted on the interaction interface based on the interactive action;displaying, at the display location of the resource object after beingshifted, a resource sub-object matching the interaction message, theresource sub-object being capable of moving on the interactioninterface; and continuing to move and display, on the interactioninterface, the resource object.
 3. The method according to claim 2,further comprising: in response to the resource object moving out of adisplay range of the interaction interface after being shifted,displaying, at a location at which the resource object disappears, theresource sub-object; or in response to the resource object remainingwithin the display range of the interaction interface after beingshifted, performing displaying the resource sub-object at the displaylocation of the resource object after being shifted.
 4. The methodaccording to claim 2, further comprising: adding a virtual detectionarea for the virtual object, and adding a resource detection area forthe resource object; during movement of the virtual object and theresource object, generating an area-coincidence degree between thevirtual detection area and the resource detection area based on an areaintersection and an area union between the virtual detection area andthe resource detection area; and in response to the area-coincidencedegree being greater than a coincidence degree threshold, determiningthat the display location of the virtual object in movement coincideswith the display location of the resource object in movement.
 5. Themethod according to claim 1, wherein the interaction message is a firstinteraction message, the virtual object is a first virtual object, andthe interaction area is a first interaction area; the method furthercomprising: in response to a second interaction message being displayedon the interaction interface, displaying a second virtual object in asecond interaction area in which the second interaction message islocated, the second virtual object being associated with the secondinteraction message, and the second object being configured to interactwith the first object on the interaction interface; wherein displayingthe interactive movement includes: displaying, on the interactioninterface, interactive movement involving the first virtual object, thesecond virtual object, and the resource object, the interactive movementinvolving the first virtual object, the second virtual object, and theresource object includes at least one of: moving the first virtualobject from the location of the first interaction area, and moving theresource object from the target location; or moving the second virtualobject from a location of the second interaction area.
 6. The methodaccording to claim 5, wherein the interactive movement includes jointmovement of the first virtual object and the second virtual object; themethod further comprising: in response to the display location of thefirst virtual object in movement coincides with a display location ofthe second virtual object in movement during the joint movement,displaying, on the interaction interface, a coincident interactiveanimation associated with the first virtual object and the secondvirtual object.
 7. The method according to claim 5, wherein the methodfurther comprises: wherein the interactive movement includes jointmovement of the first virtual object, the second virtual object, and theresource object; the method further comprising, in response to a displaylocation of the second virtual object in movement coinciding with thedisplay location of the resource object in movement during the jointmovement: triggering the second virtual object to perform an interactiveaction with respect to the resource object, a location of the resourceobject being shifted on the interaction interface based on theinteractive action; displaying, at the display location of the resourceobject after being shifted, a resource sub-object matching the secondinteraction message, the second resource sub-object being capable ofmoving on the interaction interface; and continuing to move and display,on the interaction interface, the resource object.
 8. The methodaccording to claim 5, wherein displaying the second virtual object inthe second interaction area includes: in response to the secondinteraction message being displayed on the interaction interface,determining trigger types respectively indicated by the firstinteraction message and the second interaction message; and in responseto a trigger type indicated by the first interaction message and atrigger type indicated by the second interaction message being both aninteractive type, displaying the second virtual object in the secondinteraction area.
 9. The method according to claim 1, furthercomprising: displaying a resource acquisition area on the interactioninterface in response to a trigger operation performed on the resourceobject in movement; displaying resource description information and aresource acquisition control in the resource acquisition area; andacquiring a virtual resource indicated by the resource descriptioninformation in response to a trigger operation performed on the resourceacquisition control.
 10. The method according to claim 1, furthercomprising: in response to a trigger operation performed on the virtualobject in movement, obtaining an updated moving track and an updatedmoving speed indicated by the trigger operation; and updating an initialmoving track and an initial moving speed of the virtual object on theinteraction interface based on the updated moving track and the updatedmoving speed.
 11. The method according to claim 1, wherein: theinteraction interface includes a virtual keyboard area and a messagedisplay area that do not overlap with each other; and the interactivemovement includes moving the resource object from the target location,and displaying the interactive movement includes: in response to theresource object in movement being located in the message display area,displaying the resource object in the message display area; or inresponse to the resource object in movement being located in the virtualkeyboard area, covering the resource object using a virtual keyboard inthe virtual keyboard area.
 12. The method according to claim 1, whereindisplaying the virtual object in the interaction area includes: inresponse to the interaction message being displayed on the interactioninterface and the interaction message includes key message data with avirtual object trigger function, obtaining, from a resource library, thevirtual object indicated by the key message data and a validity timerange, the resource library being periodically obtained by anapplication client to which the interaction interface belongs; and inresponse to a current time being within the validity time range,displaying the virtual object in the interaction area.
 13. The methodaccording to claim 1, wherein: the interactive movement includes movingthe virtual object from the location of the interaction area; anddisplaying the interactive movement includes: obtaining an objectlocation distance between a display location of the virtual object and adisplay location of the resource object; generating, on the interactioninterface, a virtual area indicated by the object location distance; andmoving and displaying the virtual object based on the virtual area froma location of the interaction area.
 14. The method according to claim13, wherein moving and displaying the virtual object based on thevirtual area from the location of the interaction area includes:determining, in the virtual area, a target moving track and an auxiliarymoving track corresponding to the virtual object, the target movingtrack being configured to indicate that a coincident display locationexists between the display location of the virtual object in movementand the display location of the resource object in movement, theauxiliary moving track being different from the target moving track, andstarting points of the target moving track and the auxiliary movingtrack being the location of the interaction area on the interactioninterface; selecting a selected moving track based on selectionprobabilities respectively corresponding to the target moving track andthe auxiliary moving track, the selected moving track being the targetmoving track or the auxiliary moving track; and moving and displayingthe virtual object based on the selected moving track from the locationof the interaction area.
 15. The method according to claim 14, furthercomprising: counting a consecutive non-collision count of a historicalvirtual object against the resource object in a target time period, thehistorical virtual object being associated with a historical interactionmessage on the interaction interface; and in response to the consecutivenon-collision count being equal to a collision trigger threshold,adjusting a selection probability corresponding to the target movingtrack to a maximum selection probability; wherein selecting the selectedmoving track includes: determining the target moving track as theselected moving track based on the maximum selection probabilitycorresponding to the target moving track and a selection probabilitycorresponding to the auxiliary moving track.
 16. The method according toclaim 15, further comprising: recounting the consecutive non-collisioncount in response to the display location of the virtual object beingabove the display location of the resource object.
 17. The methodaccording to claim 14, wherein the virtual object performs at least twojump actions during movement and display, the jump actions are performedbased on different selected moving tracks determined based on differentvirtual areas; the method further comprising: counting a consecutivenon-collision count of consecutive non-collision jump actions of thevirtual object against the resource object; in response to theconsecutive non-collision count being equal to a collision triggerthreshold, generating an updated virtual area based on the displaylocation of the first virtual object in movement and the displaylocation of the resource object in movement, the updated virtual areaincluding an updated target moving track and an updated auxiliary movingtrack, the updated target moving track being configured to indicate thata coincident display location exists between the display location of thevirtual object in movement and the display location of the resourceobject in movement, the updated auxiliary moving track being differentfrom the updated target moving track, the updated target moving trackhaving a maximum selection probability, and a selection probabilitycorresponding to the updated auxiliary moving track being less than themaximum selection probability; determining the updated target movingtrack as an updated selected moving track based on the maximum selectionprobability corresponding to the updated target moving track and theselection probability corresponding to the updated auxiliary movingtrack; and performing, on the virtual object, a jump action indicated bythe updated selected moving track.
 18. A computer device comprising: oneor more memories storing one or more computer programs; and one or moreprocessors configured to execute the one or more computer programs to:in response to an interaction message being displayed on an interactioninterface, display a virtual object in an interaction area in which theinteraction message is located, and display a resource object at atarget location on the interaction interface, the virtual object and theresource object being associated with the interaction message, and theresource object and the virtual object being configured to interact witheach other; and display, on the interaction interface, interactivemovement involving the virtual object and the resource object, theinteractive movement including at least one of: moving the virtualobject from a location of the interaction area; or moving the resourceobject from the target location.
 19. The computer device according toclaim 18, wherein one or more processors are further configured toexecute the one or more computer programs to: during the interactivemovement, control the virtual object to perform an interactive actionwith respect to the resource object in response to a display location ofthe virtual object coinciding with a display location of the resourceobject, a location of the resource object being shifted on theinteraction interface based on the interactive action; display, at thedisplay location of the resource object after being shifted, a resourcesub-object matching the interaction message, the resource sub-objectbeing capable of moving on the interaction interface; and continue tomove and display, on the interaction interface, the resource object. 20.A non-transitory computer-readable storage medium storing one or morecomputer programs that, when executed by one or more processors, causethe one or more processor performs to: in response to an interactionmessage being displayed on an interaction interface, display a virtualobject in an interaction area in which the interaction message islocated, and display a resource object at a target location on theinteraction interface, the virtual object and the resource object beingassociated with the interaction message, and the resource object and thevirtual object being configured to interact with each other; anddisplay, on the interaction interface, interactive movement involvingthe virtual object and the resource object, the interactive movementincluding at least one of: moving the virtual object from a location ofthe interaction area; or moving the resource object from the targetlocation.